From eb90eed6cccc75d962a77ced5fff6f934fbb3d96 Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 29 Oct 2008 16:09:51 +0000 Subject: [PATCH] Fixed char removal git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12810 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_userinfo.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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){ -- 2.30.2