From d5bd720d19132c9381fd92cd8600c22a0394efdf Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Mon, 2 Feb 2009 18:56:23 +0100 Subject: avoid double messages FS#1581 Ignore-this: d3596f87ee9c2bb78ab7b4c74789e665 darcs-hash:20090202175623-7ad00-af147192fbecf7b5573dc95aeb3eb5620c3782e7.gz --- inc/html.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'inc/html.php') 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 '
'; print $msg['msg']; -- cgit v1.2.3