diff options
Diffstat (limited to 'plugins/auto_assign_labels/init.php')
-rw-r--r-- | plugins/auto_assign_labels/init.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/auto_assign_labels/init.php b/plugins/auto_assign_labels/init.php index 1209a02ab..911adb6b8 100644 --- a/plugins/auto_assign_labels/init.php +++ b/plugins/auto_assign_labels/init.php @@ -40,8 +40,7 @@ class Auto_Assign_Labels extends Plugin { if ($caption && preg_match("/\b$caption\b/i", "$tags_str " . strip_tags($article["content"]) . " " . $article["title"])) { - # defined in rssfuncs.php - if (!labels_contains_caption($article["labels"], $caption)) { + if (!RSSUtils::labels_contains_caption($article["labels"], $caption)) { array_push($article["labels"], $label); } } |