From: cajus Date: Thu, 11 Feb 2010 17:12:14 +0000 (+0000) Subject: Corrected acl check X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9f97e0838b447e659085ba136e50f375e885804c;p=gosa.git Corrected acl check git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15614 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_listing.inc b/gosa-core/include/class_listing.inc index 7c3ea972f..e66ff5308 100644 --- a/gosa-core/include/class_listing.inc +++ b/gosa-core/include/class_listing.inc @@ -1250,7 +1250,7 @@ class listing { $checkAcl= ""; // Category or detailed permission? - if (strpos('/', $module) === false) { + if (strpos($module, '/') !== false) { if (preg_match('/([a-zA-Z0-9]+):([rwcdm]+)/', $sAcl, $m) ) { $checkAcl= $ui->get_permissions($dn, $module, $m[1]); $sAcl= $m[2];