From 308d1f200f06000377f3bcd291d1dfb4349beddd Mon Sep 17 00:00:00 2001 From: Dries Buytaert <dries@buytaert.net> Date: Tue, 14 Feb 2006 19:19:34 +0000 Subject: [PATCH] - Patch #48993 by jvandyck: removed notices. --- includes/menu.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/menu.inc b/includes/menu.inc index d224dc824a05..f0c48f280b80 100644 --- a/includes/menu.inc +++ b/includes/menu.inc @@ -849,7 +849,7 @@ function menu_primary_links($start_level = 1, $pid = 0) { } // Special case - provide link to admin/menu if primary links is empty. - if (is_null($links) && $start_level == 1 && $pid == variable_get('menu_primary_menu', 0)) { + if (empty($links) && $start_level == 1 && $pid == variable_get('menu_primary_menu', 0)) { $links['1-1'] = l(t('edit primary links'),'admin/menu'); } -- GitLab