summaryrefslogtreecommitdiff
path: root/program/steps
diff options
context:
space:
mode:
Diffstat (limited to 'program/steps')
-rw-r--r--program/steps/error.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/program/steps/error.inc b/program/steps/error.inc
index 4a151d49c..5cde93cfc 100644
--- a/program/steps/error.inc
+++ b/program/steps/error.inc
@@ -99,8 +99,7 @@ EOF;
if (template_exists('error'))
{
- $OUTPUT->scripts = array();
- $OUTPUT->script_files = array();
+ $OUTPUT->reset();
$OUTPUT->send('error');
}