diff options
author | Andreas Gohr <andi@splitbrain.org> | 2009-02-02 18:56:23 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2009-02-02 18:56:23 +0100 |
commit | d5bd720d19132c9381fd92cd8600c22a0394efdf (patch) | |
tree | 2330ff6da37991f03a537ea4805d8f63d9e597de | |
parent | bd502e9728598dc8c12198e9735adab0d081697b (diff) | |
download | rpg-d5bd720d19132c9381fd92cd8600c22a0394efdf.tar.gz rpg-d5bd720d19132c9381fd92cd8600c22a0394efdf.tar.bz2 |
avoid double messages FS#1581
Ignore-this: d3596f87ee9c2bb78ab7b4c74789e665
darcs-hash:20090202175623-7ad00-af147192fbecf7b5573dc95aeb3eb5620c3782e7.gz
-rw-r--r-- | inc/html.php | 2 |
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']; |