summaryrefslogtreecommitdiff
path: root/inc/html.php
diff options
context:
space:
mode:
authorChristopher Smith <chris@jalakai.co.uk>2013-04-07 12:18:55 -0700
committerChristopher Smith <chris@jalakai.co.uk>2013-04-07 12:18:55 -0700
commit33f1e87c050a2dd2dc2b06de5d9050b16bd1f0c0 (patch)
tree2501f235a901cf81ccc0f35faa41885601f07517 /inc/html.php
parent0a820853f3a80ea553e4e7355e1ddb345ab542f5 (diff)
parent677274500465d1bf8bde7d755c5a8bf107411e4f (diff)
downloadrpg-33f1e87c050a2dd2dc2b06de5d9050b16bd1f0c0.tar.gz
rpg-33f1e87c050a2dd2dc2b06de5d9050b16bd1f0c0.tar.bz2
Merge pull request #199 from splitbrain/authcomp
backward compatibility for old authtype settings
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;
}