Browse Source

Fix updateTagAttribute (#2682)

Alexandre Alapetite 6 years ago
parent
commit
131ad1014b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/Models/TagDAO.php

+ 2 - 2
app/Models/TagDAO.php

@@ -106,9 +106,9 @@ class FreshRSS_TagDAO extends Minz_ModelPdo implements FreshRSS_Searchable {
 	public function updateTagAttribute($tag, $key, $value) {
 	public function updateTagAttribute($tag, $key, $value) {
 		if ($tag instanceof FreshRSS_Tag) {
 		if ($tag instanceof FreshRSS_Tag) {
 			$tag->_attributes($key, $value);
 			$tag->_attributes($key, $value);
-			return $this->updateFeed(
+			return $this->updateTag(
 					$tag->id(),
 					$tag->id(),
-					array('attributes' => $feed->attributes())
+					[ 'attributes' => $tag->attributes() ]
 				);
 				);
 		}
 		}
 		return false;
 		return false;