mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
fixed json error reporting problem
This commit is contained in:
parent
e1a5a9cccb
commit
79beb849bd
1 changed files with 1 additions and 1 deletions
|
@ -2656,7 +2656,7 @@ class core_renderer_ajax extends core_renderer {
|
|||
* @return string A template fragment for a fatal error
|
||||
*/
|
||||
public function fatal_error($message, $moreinfourl, $link, $backtrace, $debuginfo = null) {
|
||||
global $FULLME, $USER;
|
||||
global $CFG;
|
||||
|
||||
$this->page->set_context(null); // ugly hack - make sure page context is set to something, we do not want bogus warnings here
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue