From: Banana Date: Sat, 3 Aug 2019 22:16:16 +0000 (+0200) Subject: do nothing if message is empty X-Git-Tag: 2.1-alpha-2019-0-29~3 X-Git-Url: http://91.132.146.200/gitweb/?a=commitdiff_plain;h=5807a5feba96425dc8fb86980b0c47c1e363efb1;p=insipid.git do nothing if message is empty --- diff --git a/webroot/view/_displaySubmitStatus.inc.php b/webroot/view/_displaySubmitStatus.inc.php index 3e3b6db..7de6151 100644 --- a/webroot/view/_displaySubmitStatus.inc.php +++ b/webroot/view/_displaySubmitStatus.inc.php @@ -8,6 +8,8 @@ if(!empty($submitFeedback)) { if(is_array($message)) { $message = implode("
", $message); } + + if(!empty($message)) { ?>
@@ -16,4 +18,7 @@ if(!empty($submitFeedback)) {
- +