summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ffd1a31)
raw | patch | inline | side by side (parent: ffd1a31)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 14 Nov 2005 13:43:25 +0000 (13:43 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 14 Nov 2005 13:43:25 +0000 (13:43 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1945 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_xmlParse.inc | patch | blob | history |
index 88e7e3aab511e3f003455a3613b3db837f6e327c..4125d376eafffe12dc56ba23b8ef14fed3f0b677 100644 (file)
$dir ="";
}
if(($ele['tag'] == "CATEGORY")&&(!empty($ele['value']))&&(isset($ele['value']))){
- $current[$dir]['name'] = $ele['value'];
+ $current[preg_replace("/\/$/","",$dir)]['name'] = $ele['value'];
}
if(isset($current['type'])){
unset($current['type']);
$dir .= preg_replace("/\.directory/","",$ele['value'])."/";
}
if(($ele['tag'] == "CATEGORY")&&(!empty($ele['value']))&&(isset($ele['value']))){
- $current[$dir] = $ele['value'];
+ $current[preg_replace("/\/$/","",$dir)] = $ele['value'];
}
$curback = $current;
}
+
}