From 2bdcc49b7150e2a270f69c290b4545996d6806be Mon Sep 17 00:00:00 2001 From: thomasb Date: Wed, 30 Apr 2008 14:07:29 +0000 Subject: Simply use reset() to clear the state vars of rcube_html_page; reverted r1346 git-svn-id: https://svn.roundcube.net/trunk@1347 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/steps/error.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'roundcubemail/program/steps/error.inc') diff --git a/roundcubemail/program/steps/error.inc b/roundcubemail/program/steps/error.inc index 4a151d49c..5cde93cfc 100644 --- a/roundcubemail/program/steps/error.inc +++ b/roundcubemail/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'); } -- cgit v1.2.3