From 864dad57954e6a967f2483cad54c67d3f5340d33 Mon Sep 17 00:00:00 2001 From: skodak Date: Fri, 25 Apr 2008 12:24:16 +0000 Subject: [PATCH] MDL-13401 fixed REQUEST_URI test; merged from MOODLE_19_STABLE --- auth/cas/CAS/CAS.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']; } -- 2.39.5