summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bac8749)
raw | patch | inline | side by side (parent: bac8749)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 22 Nov 2010 10:49:08 +0000 (10:49 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 22 Nov 2010 10:49:08 +0000 (10:49 +0000) |
This leads to errors in the the ldap filtering class.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20316 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20316 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_filterLDAP.inc | patch | blob | history |
index 34aff04a8e5652b6c00a9e61cb5bdb8df7dbb459..feda5169a54e8bb64a2e4718d87d100b41d29fb1 100644 (file)
$bases[$base]= "";
} else {
foreach ($objectStorage as $oc) {
+
+ // Handle empty storage locatios here, maybe get_ou() as returned an empty string.
+ if(empty($oc)){
+ $bases[$base] = "";
+ continue;
+ }
+
$oc= preg_replace('/,$/', '', $oc);
$tmp= explode(',', $oc);
if (count($tmp) == 1) {