From 85a1f5787c68d006bcfe9e3b0fb65911fac151dd Mon Sep 17 00:00:00 2001 From: stekkel Date: Sat, 11 Feb 2006 15:24:58 +0000 Subject: [PATCH] Update documentation git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10707 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- class/error.class.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/class/error.class.php b/class/error.class.php index aabea017..af241e36 100644 --- a/class/error.class.php +++ b/class/error.class.php @@ -63,7 +63,9 @@ class ErrorHandler { } /** - * Sets the error template + * Store errors generated in a previous script but couldn't be displayed + * due to a header redirect. This requires storing of aDelayedErrors in the session + * @param array $aDelayedErrors array with errors stored in the $this->aErrors format. * @since 1.5.1 */ function AssignDelayedErrors(&$aDelayedErrors) { @@ -194,7 +196,7 @@ class ErrorHandler { // Show the error immediate in case of fatal errors if ($iType == SQM_ERROR) { if (!$this->header_sent) { - // replace this with template that can be assigned + // TODO replace this with template that can be assigned displayHtmlHeader(_("Error"),'',false); } $this->DisplayErrors(); -- 2.25.1