summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 58258b8)
raw | patch | inline | side by side (parent: 58258b8)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 12 Mar 2010 14:54:08 +0000 (14:54 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 12 Mar 2010 14:54:08 +0000 (14:54 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16496 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_userFilter.inc | patch | blob | history |
index c7da3badbe3eb6ad75544067c77ad6da94b52c6d..331c6a921ab516f3b42221efe17281acba8cf135 100644 (file)
// Get filters and their backends
$queries = array();
foreach(split(",", $filterList) as $data){
- list($filter, $backend) = preg_split('/:/', $data);
- $queries[] = array('backend' => $backend, 'filter' => base64_decode($filter));
+ if(!empty($data)){
+ list($filter, $backend) = preg_split('/:/', $data);
+ $queries[] = array('backend' => $backend, 'filter' => base64_decode($filter));
+ }
}
// build up filter entry.