summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 70cfb66)
raw | patch | inline | side by side (parent: 70cfb66)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 2 Sep 2009 11:46:19 +0000 (11:46 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 2 Sep 2009 11:46:19 +0000 (11:46 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14191 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_filter.inc | patch | blob | history |
index 373b37e9bd740dd510aa74691550f1fb047f36ac..3a9e38d75856c25e3fa1bb45c3019d840dfa3fc5 100644 (file)
}
}
- // Sort elements for element length to allow proper replacing later on
- function strlenSort($a, $b) {
- if (strlen($a['tag']) == strlen($b['tag'])) {
- return 0;
- }
- return (strlen($a['tag']) < strlen($b['tag']) ? -1 : 1);
- }
uasort($this->elements, 'strlenSort');
$this->elements= array_reverse($this->elements);
}
+// Sort elements for element length to allow proper replacing later on
+function strlenSort($a, $b) {
+ if (strlen($a['tag']) == strlen($b['tag'])) {
+ return 0;
+ }
+ return (strlen($a['tag']) < strlen($b['tag']) ? -1 : 1);
+}
+
?>