diff --git a/inc/infoutils.php b/inc/infoutils.php index 3d13266244489a6f3f21ce5f79a561de840ea011..da230da37fe0eb0d2468790d0f414bd868ea4d76 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;