summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fda8bac)
raw | patch | inline | side by side (parent: fda8bac)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 28 Aug 2009 09:43:30 +0000 (09:43 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 28 Aug 2009 09:43:30 +0000 (09:43 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14156 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_filter.inc | patch | blob | history |
index 30f3cf29194faf4181929a1c2f0d1b788ddeafc4..0b5f1778a9263186bbada5d718d35540cb2ffcd6 100644 (file)
foreach ($attributes as $attribute) {
if (is_array($entry[$attribute])) {
for ($i= 0; $i<$entry[$attribute]['count']; $i++) {
- $res[]= $entry[$attribute][$i];
+ if (mb_stristr($entry[$attribute][$i], $value)) {
+ $res[]= $entry[$attribute][$i];
+ }
}
} else {
$res[]= $entry[$attribute];