diff --git a/functions.php b/functions.php index 48d6e3a85..5dc85264a 100644 --- a/functions.php +++ b/functions.php @@ -4754,13 +4754,14 @@ #print "
";
print sanitize_rss($link, $line["content_preview"]);
+ $article_content = $line["content_preview"];
$e_result = db_query($link, "SELECT * FROM ttrss_enclosures WHERE
post_id = '$id' AND content_url != ''");
@@ -5333,7 +5330,7 @@
array_push($entries, $entry);
}
- if (!preg_match("/img/i", $line["content"])) {
+ if (!preg_match("/img/i", $article_content)) {
foreach ($entries as $entry) {
if (preg_match("/image/", $entry["type"])) {
print "