hide empty content preview
This commit is contained in:
parent
9167e250e8
commit
ad3dee9113
1 changed files with 3 additions and 1 deletions
|
@ -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…
Reference in a new issue