summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f1e1a12)
raw | patch | inline | side by side (parent: f1e1a12)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 10 May 2006 07:16:28 +0000 (07:16 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 10 May 2006 07:16:28 +0000 (07:16 +0000) |
If the last search was successfull performed, but one search before failed,
no size limit message was shown, because the session value was overwritten
by the successfull last search/ls.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3250 594d385d-05f5-0310-b6e9-bd551577e9d8
no size limit message was shown, because the session value was overwritten
by the successfull last search/ls.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3250 594d385d-05f5-0310-b6e9-bd551577e9d8
html/main.php | patch | blob | history | |
include/functions.inc | patch | blob | history |
diff --git a/html/main.php b/html/main.php
index 160017b6b9e3cd3bb5cd71227a3652d1fab4f904..6fefa08a2fadc0fa664a4c1939bc291564a003b0 100644 (file)
--- a/html/main.php
+++ b/html/main.php
/* Remember everything we did after the last click */
session_start ();
+$_SESSION['limit_exceeded'] =FALSE;
+
if ($_SERVER["REQUEST_METHOD"] == "POST"){
@DEBUG (DEBUG_POST, __LINE__, __FUNCTION__, __FILE__, $_POST, "_POST");
}
diff --git a/include/functions.inc b/include/functions.inc
index 8529427616bfb13d32406439ab6a2ca4e02501be..94ec5b80d440f8a8fa7bc59938e4d06681c6c055 100644 (file)
--- a/include/functions.inc
+++ b/include/functions.inc
@@ -514,8 +514,6 @@ function get_list($filter, $subtreeACL, $base= "", $attributes= array(), $flags=
/* Check for size limit exceeded messages for GUI feedback */
if (preg_match("/size limit/i", $ldap->error)){
$_SESSION['limit_exceeded']= TRUE;
- } else {
- $_SESSION['limit_exceeded']= FALSE;
}
/* Crawl through reslut entries and perform the migration to the