[Bug 925] New - Undefined variable in Maintence.php for imp 3.1

bugs@bugs.horde.org bugs@bugs.horde.org
Fri, 5 Apr 2002 02:19:18 -0400


http://bugs.horde.org/show_bug.cgi?id=925

*** shadow/925	Fri Apr  5 02:19:18 2002
--- shadow/925.tmp.15176	Fri Apr  5 02:19:18 2002
***************
*** 0 ****
--- 1,29 ----
+ Bug#: 925
+ Product: Horde
+ Version: 2.0 Stable
+ Platform: Mozilla 5.x
+ OS/Version: OSF/1
+ Status: NEW   
+ Resolution: 
+ Severity: normal
+ Priority: P2
+ Component: IMP
+ Area: BUILD
+ AssignedTo: chuck@horde.org                            
+ ReportedBy: matthew@arts.usyd.edu.au               
+ URL: 
+ Summary: Undefined variable in Maintence.php for imp 3.1
+ 
+ 		if (!empty($HTTP_SERVER_VARS['QUERY_STRING'])) {
+                     $getvars = urlencode($HTTP_SERVER_VARS['QUERY_STRING']);
+ 		}
+ 
+                 else $getvars = ''; // MG
+ 
+      		header('Location: ' . Horde::url($registry->getWebRoot('horde') .
+ '/maintenance.php?module=' . $this->horde_module . '&getvars=' . $getvars, true));
+ 		exit;
+ 
+  Added the 'MG' line to horde/lib/Maintence.php otherwise undefined var error
+ appeared on the  next line.
+