Commit 783734b0 authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

(legacy) fix uninitialized menu_messages

parent b2949125
......@@ -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