summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a10b83a)
raw | patch | inline | side by side (parent: a10b83a)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 6 Feb 2009 13:25:57 +0000 (13:25 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 6 Feb 2009 13:25:57 +0000 (13:25 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13395 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/functions.inc | patch | blob | history |
index dd56b68a2d3b5e2251bc6298846129cac7ae59a8..c630642e2b66903bee9c9fdf0874d0b66b0cf871 100644 (file)
/* Don't assign used ones */
if (!in_array($uid, $used)){
- $ret[]= $uid;
+ /* Add uid, but remove {} first. These are invalid anyway. */
+ $ret[]= preg_replace('/[{}]/', '', $uid);
}
}