From 8f5b5ae09eb90bf271d95654943bd8c7f783e8a4 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 9 Dec 2018 04:24:48 +0300 Subject: [PATCH] if not enabled, set content_preview to "" instead of null --- classes/feeds.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/feeds.php b/classes/feeds.php index 6b499e65c..fc2551f5e 100755 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -231,7 +231,7 @@ class Feeds extends Handler_Protected { ++$headlines_count; if (!get_pref('SHOW_CONTENT_PREVIEW')) { - $line["content_preview"] = null; + $line["content_preview"] = ""; } else { $line["content_preview"] = "— " . truncate_string(strip_tags($line["content"]), 250);