From: skodak Date: Fri, 25 Apr 2008 12:24:16 +0000 (+0000) Subject: MDL-13401 fixed REQUEST_URI test; merged from MOODLE_19_STABLE X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=864dad57954e6a967f2483cad54c67d3f5340d33;p=moodle.git MDL-13401 fixed REQUEST_URI test; merged from MOODLE_19_STABLE --- diff --git a/auth/cas/CAS/CAS.php b/auth/cas/CAS/CAS.php index f74730f49e..ab34ef72c3 100644 --- a/auth/cas/CAS/CAS.php +++ b/auth/cas/CAS/CAS.php @@ -6,7 +6,7 @@ // // hack by Vangelis Haniotakis to handle the absence of $_SERVER['REQUEST_URI'] in IIS // -if (!$_SERVER['REQUEST_URI']) { +if (!isset($_SERVER['REQUEST_URI'])) { $_SERVER['REQUEST_URI'] = $_SERVER['SCRIPT_NAME'].'?'.$_SERVER['QUERY_STRING']; }