Permalink
Browse files

Merge branch 'w29_MDL-27464_m20_continue' of git://github.com/skodak/…

…moodle into MOODLE_20_STABLE
  • Loading branch information...
Sam Hemelryk
Sam Hemelryk committed Jul 25, 2011
2 parents 77c9ae4 + 2011593 commit 417fdfab6bbdcfc3f5b64704ec06912ae9cd1050
Showing with 6 additions and 0 deletions.
  1. +6 −0 lib/setuplib.php
View
@@ -501,6 +501,12 @@ function get_exception_info($ex) {
}
}
// when printing an error the continue button should never link offsite
if (stripos($link, $CFG->wwwroot) === false &&
stripos($link, $CFG->httpswwwroot) === false) {
$link = $CFG->wwwroot.'/';
}
$info = new stdClass();
$info->message = $message;
$info->errorcode = $errorcode;

0 comments on commit 417fdfa

Please sign in to comment.