summaryrefslogtreecommitdiff
path: root/inc/html.php
diff options
context:
space:
mode:
authorAnika Henke <anika@selfthinker.org>2013-06-02 23:14:12 +0100
committerAnika Henke <anika@selfthinker.org>2013-06-02 23:14:12 +0100
commit20beef63b4694afdc3d6c434c3d27c982b6a986b (patch)
tree9800833361010fe16a2f25a2b2e75a1b569f39f8 /inc/html.php
parentbc1e9ee1b1fffcb554afced8504270032c97341f (diff)
parent21c9604e66bcb42ab5267e9873738a6e22250103 (diff)
downloadrpg-20beef63b4694afdc3d6c434c3d27c982b6a986b.tar.gz
rpg-20beef63b4694afdc3d6c434c3d27c982b6a986b.tar.bz2
Merge remote-tracking branch 'origin/master' into loggedin-class
Diffstat (limited to 'inc/html.php')
-rw-r--r--inc/html.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/inc/html.php b/inc/html.php
index 59415f7da..fb39fcb3c 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -1297,9 +1297,11 @@ function html_msgarea(){
foreach($MSG as $msg){
$hash = md5($msg['msg']);
if(isset($shown[$hash])) continue; // skip double messages
- print '<div class="'.$msg['lvl'].'">';
- print $msg['msg'];
- print '</div>';
+ if(info_msg_allowed($msg)){
+ print '<div class="'.$msg['lvl'].'">';
+ print $msg['msg'];
+ print '</div>';
+ }
$shown[$hash] = 1;
}