summaryrefslogtreecommitdiff
path: root/inc/html.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/html.php')
-rw-r--r--inc/html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/html.php b/inc/html.php
index 09d1387bd..fb39fcb3c 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -1297,7 +1297,7 @@ function html_msgarea(){
foreach($MSG as $msg){
$hash = md5($msg['msg']);
if(isset($shown[$hash])) continue; // skip double messages
- if(info_msg_canshow($msg)){
+ if(info_msg_allowed($msg)){
print '<div class="'.$msg['lvl'].'">';
print $msg['msg'];
print '</div>';