From: yellowled Date: Mon, 14 Apr 2008 05:00:09 +0000 (+0000) Subject: Modified output code for serendipity_plugin_history to not display outro if empty. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=0adf67bc948ab97da7e41dcf0c325dfd85fafe09;p=s9y.git Modified output code for serendipity_plugin_history to not display outro if empty. --- diff --git a/plugins/serendipity_plugin_history/serendipity_plugin_history.php b/plugins/serendipity_plugin_history/serendipity_plugin_history.php index 6006c33..6b39f53 100644 --- a/plugins/serendipity_plugin_history/serendipity_plugin_history.php +++ b/plugins/serendipity_plugin_history/serendipity_plugin_history.php @@ -193,7 +193,7 @@ class serendipity_plugin_history extends serendipity_plugin echo '
' . $author . ' '. $date . " ". htmlspecialchars($t) . '
' . strip_tags($e[$x]['body']) . '
'; } - echo '
' . $outro . '
'; + echo (empty($outro)) ? '' : '
' . $outro . '
'; } }