mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
output MDL-19077 typo bug on $debugdisableredirect
This commit is contained in:
parent
13a0d3d3c9
commit
728f96c756
@ -1782,7 +1782,7 @@ class moodle_core_renderer extends moodle_renderer_base {
|
||||
case moodle_page::STATE_IN_BODY :
|
||||
// We really shouldn't be here but we can deal with this
|
||||
debugging("You should really redirect before you start page output");
|
||||
if (!$disableredirect) {
|
||||
if (!$debugdisableredirect) {
|
||||
$this->page->requires->js_function_call('document.location.replace', array($url))->after_delay($delay);
|
||||
}
|
||||
$output = $this->opencontainers->pop_all_but_last();
|
||||
|
Loading…
x
Reference in New Issue
Block a user