From: cajus Date: Thu, 26 May 2005 11:29:31 +0000 (+0000) Subject: Hide size limit errors X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b2d93966db7bfd0fa14b924e67ad0fccb568fe80;p=gosa.git Hide size limit errors git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@468 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/functions.inc b/include/functions.inc index 994d4a2e7..00aa9397f 100644 --- a/include/functions.inc +++ b/include/functions.inc @@ -1532,6 +1532,13 @@ function gosaRaiseError($errno, $errstr, $errfile, $errline) return; } + /* FIXME: Hide ldap size limit messages */ + if (preg_match('/ldap_error/', $errstr)){ + if (preg_match('/sizelimit/', $errstr)){ + return; + } + } + /* Create header as needed */ if ($error_collector == ""){ if ($_SESSION['js']==FALSE){