diff options
author | Andrew Dolgov <[email protected]> | 2018-12-09 04:24:48 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-12-09 04:24:48 +0300 |
commit | 8f5b5ae09eb90bf271d95654943bd8c7f783e8a4 (patch) | |
tree | 9af0633aa14a0c9e3f3f1aa39d04010dd67c345e /classes/feeds.php | |
parent | a0d332326c8ff511b8dd05008a4c368fef623434 (diff) |
if not enabled, set content_preview to "" instead of null
Diffstat (limited to 'classes/feeds.php')
-rwxr-xr-x | classes/feeds.php | 2 |
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"] = "— " . truncate_string(strip_tags($line["content"]), 250); |