From 98c7f6299ac8b4b323646239dba4175e57ac18b3 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 2 Apr 2014 05:17:02 +0000 Subject: [PATCH] af_comics_cad: do not process news posts --- plugins/af_comics/filters/af_comics_cad.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/af_comics/filters/af_comics_cad.php b/plugins/af_comics/filters/af_comics_cad.php index 6184977d..fcc90781 100644 --- a/plugins/af_comics/filters/af_comics_cad.php +++ b/plugins/af_comics/filters/af_comics_cad.php @@ -9,7 +9,7 @@ class Af_Comics_Cad extends Af_ComicFilter { $owner_uid = $article["owner_uid"]; if (strpos($article["link"], "cad-comic.com/cad/") !== FALSE) { - if (strpos($article["plugin_data"], "af_comics,$owner_uid:") === FALSE) { + if (strpos($article["title"], "News:") === FALSE && strpos($article["plugin_data"], "af_comics,$owner_uid:") === FALSE) { $doc = new DOMDocument(); @$doc->loadHTML(fetch_file_contents($article["link"])); -- 2.39.5