Patching the patch, should be good now!

This commit is contained in:
defacer
2005-11-14 16:15:40 +00:00
parent def35d35d7
commit 8de0b6879e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -272,6 +272,7 @@ $CFG->httpswwwroot = $CFG->wwwroot;
if (!empty($CFG->detect_unchecked_vars)) {
global $UNCHECKED_VARS;
$UNCHECKED_VARS->url = $_SERVER['PHP_SELF'];
$UNCHECKED_VARS->vars = array();
}
if (isset($_GET)) {
@@ -294,7 +295,6 @@ $CFG->httpswwwroot = $CFG->wwwroot;
extract($_SERVER);
}
/// Load up global environment variables
class object {};
+1 -1
View File
@@ -1932,7 +1932,7 @@ function print_footer($course=NULL, $usercourse=NULL) {
add_to_log(SITEID, 'dev', 'unchecked vars', $UNCHECKED_VARS->url, $key);
}
}
error_log('unchecked vars ['.$UNCHECKED_VARS->url.'] : ' . join(' ', array_keys($UNCHECKED_VARS->vars));
error_log('unchecked vars ['.$UNCHECKED_VARS->url.'] : ' . join(' ', array_keys($UNCHECKED_VARS->vars)));
}
}