From: hickert Date: Mon, 26 May 2008 09:14:49 +0000 (+0000) Subject: Updated ACL check() X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f64b7a6def51af148baa49417cb00d0ef7169f48;p=gosa.git Updated ACL check() git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10999 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_userinfo.inc b/gosa-core/include/class_userinfo.inc index f244f57e1..5413cd00a 100644 --- a/gosa-core/include/class_userinfo.inc +++ b/gosa-core/include/class_userinfo.inc @@ -313,11 +313,7 @@ class userinfo /* Assemble string */ $ret= ""; foreach ($acl as $key => $value){ - /* Why doesn't - if($value !=""){ - work here??? It skips 0 too. - */ - if (!preg_match("/^$/",$value)){ + if ($value !== ""){ $ret.= $key; } }