summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/html.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/html.php b/inc/html.php
index 97a94e111..5f154e175 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -1011,6 +1011,8 @@ function html_msgarea(){
if(!isset($MSG)) return;
+ $MSG = array_unique($MSG); // no double messages
+
foreach($MSG as $msg){
print '<div class="'.$msg['lvl'].'">';
print $msg['msg'];