MDL-45119 ajax: AJAX exceptions need a String in the Link
This commit is contained in:
@@ -3502,7 +3502,10 @@ class core_renderer_ajax extends core_renderer {
|
||||
$e->debuginfo = NULL;
|
||||
$e->reproductionlink = NULL;
|
||||
if (!empty($CFG->debug) and $CFG->debug >= DEBUG_DEVELOPER) {
|
||||
$e->reproductionlink = $link;
|
||||
$link = (string) $link;
|
||||
if ($link) {
|
||||
$e->reproductionlink = $link;
|
||||
}
|
||||
if (!empty($debuginfo)) {
|
||||
$e->debuginfo = $debuginfo;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user