From d0a45fe550221d06eaad2ae507bc1dba91816bc8 Mon Sep 17 00:00:00 2001 From: Edwin Smulders Date: Tue, 24 Jul 2007 00:30:04 +0000 Subject: [PATCH] Switch to using $_SERVER variables from what appears to be deprecated super globals --- include/testData.php | 2 +- objectManager.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/testData.php b/include/testData.php index 00afefe..695b808 100644 --- a/include/testData.php +++ b/include/testData.php @@ -567,7 +567,7 @@ class testData{ echo '
',"\n"; // put a space after the test results table and the button - echo '
'."\n"; + echo ''."\n"; echo "\t".''."\n"; if($rowsUsed >= $iDisplayLimit && !is_string($sShowAll)) echo "\t".''."\n"; diff --git a/objectManager.php b/objectManager.php index ba541cf..22eda2a 100644 --- a/objectManager.php +++ b/objectManager.php @@ -85,7 +85,7 @@ if($oObject->iId) break; case "edit": - $oObject->display_entry_for_editing($REQUEST_URI, $sErrors); + $oObject->display_entry_for_editing($_SERVER['REQUEST_URI'], $sErrors); break; case "showMoveChildren": @@ -93,12 +93,12 @@ if($oObject->iId) break; default: - $oObject->view($REQUEST_URI); + $oObject->view($_SERVER['REQUEST_URI']); break; } } else if ($aClean['sAction'] == "add") { - $oObject->add_entry($REQUEST_URI, $sErrors); + $oObject->add_entry($_SERVER['REQUEST_URI'], $sErrors); } else { // if displaying a queue display the help for the given queue