From 5807a5feba96425dc8fb86980b0c47c1e363efb1 Mon Sep 17 00:00:00 2001 From: Banana Date: Sun, 4 Aug 2019 00:16:16 +0200 Subject: [PATCH] do nothing if message is empty --- webroot/view/_displaySubmitStatus.inc.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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)) {
- + -- 2.39.5