hide empty content preview

master
Andrew Dolgov 19 years ago
parent 9167e250e8
commit ad3dee9113

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

Loading…
Cancel
Save