From: cajus Date: Wed, 29 Oct 2008 16:09:51 +0000 (+0000) Subject: Fixed char removal X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=eb90eed6cccc75d962a77ced5fff6f934fbb3d96;p=gosa.git Fixed char removal git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12810 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_userinfo.inc b/gosa-core/include/class_userinfo.inc index 62ca55277..b1ad949d4 100644 --- a/gosa-core/include/class_userinfo.inc +++ b/gosa-core/include/class_userinfo.inc @@ -527,7 +527,7 @@ class userinfo } /* Ignore invalid characters */ - $newACL= preg_replace('/^[rwcdm]/', '', $newACL); + $newACL= preg_replace('/[^rwcdm]/', '', $newACL); foreach(str_split($newACL) as $char){