From 4c6b662feb017e3f645bb7102dadeac9b0edffa8 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Wed, 30 Apr 2008 10:07:29 -0400
Subject: [PATCH] Simply use reset() to clear the state vars of rcube_html_page; reverted r1346

---
 program/steps/error.inc |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/program/steps/error.inc b/program/steps/error.inc
index 4a151d4..5cde93c 100644
--- a/program/steps/error.inc
+++ b/program/steps/error.inc
@@ -99,8 +99,7 @@
 
 if (template_exists('error'))
   {
-  $OUTPUT->scripts = array();
-  $OUTPUT->script_files = array();
+  $OUTPUT->reset();
   $OUTPUT->send('error');
   }
 

--
Gitblit v1.9.1