From 7c9b5a3fe40a641af1cb6003b03b2352576a0c4b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 4 May 2017 15:57:40 +0300 Subject: move label stuff to Labels class fix some unresolved functions --- plugins/auto_assign_labels/init.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/auto_assign_labels/init.php') diff --git a/plugins/auto_assign_labels/init.php b/plugins/auto_assign_labels/init.php index 4592175e3..1209a02ab 100644 --- a/plugins/auto_assign_labels/init.php +++ b/plugins/auto_assign_labels/init.php @@ -21,7 +21,7 @@ class Auto_Assign_Labels extends Plugin { $result = db_query("SELECT id, fg_color, bg_color, caption FROM ttrss_labels2 WHERE owner_uid = " . $owner_uid); while ($line = db_fetch_assoc($result)) { - array_push($rv, array(label_to_feed_id($line["id"]), + array_push($rv, array(Labels::label_to_feed_id($line["id"]), $line["caption"], $line["fg_color"], $line["bg_color"])); } -- cgit v1.2.3