Commit 1455f7bb authored by Ad Schellevis's avatar Ad Schellevis

(legacy) fix uninitialized menu_messages

parent 5f651fb6
......@@ -68,6 +68,7 @@ function get_menu_messages()
{
global $config;
$menu_messages = '';
if (are_notices_pending()) {
$notices = get_notices();
$requests = array();
......@@ -103,7 +104,6 @@ function get_menu_messages()
}
$notice_msgs .="</ul>";
$menu_messages = '';
if (count($notices) == 1) {
$msg= sprintf("%1$02d",count($notices))." ".gettext("unread notice");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment