summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-12-09 04:24:48 +0300
committerAndrew Dolgov <[email protected]>2018-12-09 04:24:48 +0300
commit8f5b5ae09eb90bf271d95654943bd8c7f783e8a4 (patch)
tree9af0633aa14a0c9e3f3f1aa39d04010dd67c345e /classes
parenta0d332326c8ff511b8dd05008a4c368fef623434 (diff)
if not enabled, set content_preview to "" instead of null
Diffstat (limited to 'classes')
-rwxr-xr-xclasses/feeds.php2
1 files changed, 1 insertions, 1 deletions
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"] = "&mdash; " . truncate_string(strip_tags($line["content"]), 250);