From 728f96c7561b891727b009d3a4ffa73a128342ba Mon Sep 17 00:00:00 2001 From: jerome Date: Fri, 10 Jul 2009 07:08:12 +0000 Subject: [PATCH] output MDL-19077 typo bug on $debugdisableredirect --- lib/outputlib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/outputlib.php b/lib/outputlib.php index 7b750cc860..9e9d843b2e 100644 --- a/lib/outputlib.php +++ b/lib/outputlib.php @@ -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(); -- 2.39.5