From d3cc0b59f384bf1b717361db671e741a9ee60ee5 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Wed, 12 Sep 2001 16:53:51 +0000 Subject: [PATCH] more fixes for GLOBALS --- admin/config.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/admin/config.php b/admin/config.php index ed6f2fa6dc..188ce2fa8c 100644 --- a/admin/config.php +++ b/admin/config.php @@ -12,7 +12,7 @@ /* $Id$ */ - $phpgw_info['flags'] = array( + $GLOBALS['phpgw_info']['flags'] = array( 'noheader' => True, 'nonavbar' => True, 'currentapp' => 'admin', @@ -65,7 +65,7 @@ if ($GLOBALS['HTTP_POST_VARS']['submit']) { - while (list($key,$config) = each($newsettings)) + while (list($key,$config) = each($GLOBALS['HTTP_POST_VARS']['newsettings'])) { if ($config) { @@ -118,7 +118,7 @@ $newval = ereg_replace(' ','_',$newval); $t->set_var($value,$current_config[$newval]); break; -/* case "checked": +/* case 'checked': $newval = ereg_replace(' ','_',$newval); if ($current_config[$newval]) { @@ -149,7 +149,7 @@ $t->set_var($value,''); } break; - case "hook": + case 'hook': $newval = ereg_replace(' ','_',$newval); $t->set_var($value,$newval($current_config)); break;