From 0adf67bc948ab97da7e41dcf0c325dfd85fafe09 Mon Sep 17 00:00:00 2001 From: yellowled Date: Mon, 14 Apr 2008 05:00:09 +0000 Subject: [PATCH] Modified output code for serendipity_plugin_history to not display outro if empty. --- .../serendipity_plugin_history/serendipity_plugin_history.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 . '
'; } } -- 2.39.5