fixed json error reporting problem
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user