hide empty content preview

master
Andrew Dolgov 19 years ago
parent 9167e250e8
commit ad3dee9113

@ -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>";

Loading…
Cancel
Save