summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/infoutils.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/infoutils.php b/inc/infoutils.php
index 3d1326624..da230da37 100644
--- a/inc/infoutils.php
+++ b/inc/infoutils.php
@@ -300,7 +300,7 @@ function info_msg_canshow($msg){
global $INFO, $auth;
// is the message public? - everyone and anyone can see it
- if (empty($msg['show'])) return true;
+ if (empty($msg['show']) || ($msg['show'] == MSG_PUBLIC)) return true;
// restricted msg, but no authentication
if (empty($auth)) return false;