From: hickert Date: Mon, 15 Oct 2007 07:39:52 +0000 (+0000) Subject: Only display each error once X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=268d7d6ceffa80553b3a88fb0934dcfcfe90c1ea;p=gosa.git Only display each error once git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7544 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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: ?>