summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: eaf0444)
raw | patch | inline | side by side (parent: eaf0444)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Sun, 2 May 2010 17:23:38 +0000 (17:23 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Sun, 2 May 2010 17:23:38 +0000 (17:23 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18017 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_userFilter.inc | patch | blob | history |
index 2c4a5649b1ee22ebe44782f8c7a6d40da5642d33..b1ee8224726524993d36f576a5a0143750d94b8a 100644 (file)
*/
static function explodeFilterString($filterStr)
{
- list($parent,$categories, $name, $description, $filterList, $flags) = split(";", $filterStr);
+ list($parent,$categories, $name, $description, $filterList, $flags) = preg_split('/;/', $filterStr);
// Ensure that we no empty category in our category list.
if(empty($categories)){
$categories = array();
}else{
- $categories = split(',', $categories);
+ $categories = preg_split('/,/', $categories);
}
// Ensure that we no empty entry in out flags list.
// Get filters and their backends
$queries = array();
- foreach(split(",", $filterList) as $data){
+ foreach(preg_split('/,/', $filterList) as $data){
if(!empty($data)){
list($filter, $backend) = preg_split('/:/', $data);
$queries[] = array('backend' => $backend, 'filter' => base64_decode($filter));