hide empty content preview

This commit is contained in:
Andrew Dolgov 2005-11-28 04:14:48 +01:00
parent 9167e250e8
commit ad3dee9113

View file

@ -1089,7 +1089,9 @@
$content_preview = truncate_string(strip_tags($line["content_preview"]),
101);
print "<span class=\"contentPreview\"> - $content_preview</span>";
if ($content_preview) {
print "<span class=\"contentPreview\"> - $content_preview</span>";
}
}
print "</a>";