diff options
| author | 2019-11-21 15:22:52 +0100 | |
|---|---|---|
| committer | 2019-11-21 15:22:52 +0100 | |
| commit | 131ad1014b05bf00e4c46acc54e3647353a2587f (patch) | |
| tree | 73f4f030d50ad6bda4ec74cf80378ad90ab67add /app/Models | |
| parent | b0ef856361a2598b1d24a251e05a0287d1426d80 (diff) | |
Fix updateTagAttribute (#2682)
Diffstat (limited to 'app/Models')
| -rw-r--r-- | app/Models/TagDAO.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Models/TagDAO.php b/app/Models/TagDAO.php index 5882eee76..09397c6a1 100644 --- a/app/Models/TagDAO.php +++ b/app/Models/TagDAO.php @@ -106,9 +106,9 @@ class FreshRSS_TagDAO extends Minz_ModelPdo implements FreshRSS_Searchable { public function updateTagAttribute($tag, $key, $value) { if ($tag instanceof FreshRSS_Tag) { $tag->_attributes($key, $value); - return $this->updateFeed( + return $this->updateTag( $tag->id(), - array('attributes' => $feed->attributes()) + [ 'attributes' => $tag->attributes() ] ); } return false; |
