diff options
author | Andrew Dolgov <[email protected]> | 2005-11-28 04:14:48 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-11-28 04:14:48 +0100 |
commit | ad3dee9113b47fe51165998bc307f2d47a852487 (patch) | |
tree | fc43398fbfcafec4c6bd74274339d88cd3b94d1b /backend.php | |
parent | 9167e250e80d799648b3f9418d962ff3969371a0 (diff) |
hide empty content preview
Diffstat (limited to 'backend.php')
-rw-r--r-- | backend.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/backend.php b/backend.php index f7c26df41..81f566b01 100644 --- a/backend.php +++ b/backend.php @@ -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>"; |