From 9f97e0838b447e659085ba136e50f375e885804c Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 11 Feb 2010 17:12:14 +0000 Subject: [PATCH] Corrected acl check git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15614 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_listing.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- 2.30.2