From 268d7d6ceffa80553b3a88fb0934dcfcfe90c1ea Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 15 Oct 2007 07:39:52 +0000 Subject: [PATCH] Only display each error once git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7544 594d385d-05f5-0310-b6e9-bd551577e9d8 --- html/main.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/html/main.php b/html/main.php index 745a2d2d7..be42f673a 100644 --- a/html/main.php +++ b/html/main.php @@ -62,10 +62,6 @@ if (!isset($_SESSION['config'])){ exit; } -/* Reset errors */ -$_SESSION['errors'] = ""; -$_SESSION['errorsAlreadyPosted']= array(); -$_SESSION['LastError'] = ""; /* Check for uniqe ip address */ $ui= $_SESSION["ui"]; @@ -424,6 +420,7 @@ echo $display; /* Save plist and config */ $_SESSION['plist']= $plist; $_SESSION['config']= $config; +$_SESSION['errorsAlreadyPosted']= array(); // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: ?> -- 2.30.2