From: Andrew Dolgov Date: Mon, 28 Nov 2005 03:14:48 +0000 (+0100) Subject: hide empty content preview X-Git-Tag: schema_feature_freeze_for_1.1~50 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=ad3dee9113b47fe51165998bc307f2d47a852487;p=tt-rss.git hide empty content preview --- diff --git a/backend.php b/backend.php index f7c26df4..81f566b0 100644 --- a/backend.php +++ b/backend.php @@ -1089,7 +1089,9 @@ $content_preview = truncate_string(strip_tags($line["content_preview"]), 101); - print " - $content_preview"; + if ($content_preview) { + print " - $content_preview"; + } } print "";