From 50ef8849ba202db87725bcf0d6e210eeffc27781 Mon Sep 17 00:00:00 2001 From: e107steved Date: Sat, 5 Apr 2008 15:18:31 +0000 Subject: [PATCH] Bugtracker #4374 - notice removal --- e107_admin/banner.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/e107_admin/banner.php b/e107_admin/banner.php index e57830d2a..cac4033e5 100644 --- a/e107_admin/banner.php +++ b/e107_admin/banner.php @@ -11,8 +11,8 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_admin/banner.php,v $ -| $Revision: 1.3 $ -| $Date: 2007-10-30 22:47:10 $ +| $Revision: 1.4 $ +| $Date: 2008-04-05 15:18:23 $ | $Author: e107steved $ +----------------------------------------------------------------------------+ */ @@ -451,6 +451,8 @@ if ($action == "create") { if ($action == "menu") { + $in_catname = array(); // Notice removal + $out_catname = array(); $array_cat_in = explode("|", $menu_pref['banner_campaign']); if (!$menu_pref['banner_caption']) @@ -493,7 +495,7 @@ if ($action == "menu") foreach($out_catname as $name) { - $text .= "\n"; + $text .= "\n"; } $text .= " @@ -504,7 +506,7 @@ if ($action == "menu") $catidvalues = ""; foreach($in_catname as $name) { - $text .= "\n"; + $text .= "\n"; $catidvalues .= $name."-"; }