From ad3dee9113b47fe51165998bc307f2d47a852487 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 28 Nov 2005 04:14:48 +0100 Subject: [PATCH] hide empty content preview --- backend.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 ""; -- 2.39.5