From f64b7a6def51af148baa49417cb00d0ef7169f48 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 26 May 2008 09:14:49 +0000 Subject: [PATCH] Updated ACL check() git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10999 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_userinfo.inc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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; } } -- 2.30.2