Code

Fixed acl check
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 30 Oct 2006 09:03:48 +0000 (09:03 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 30 Oct 2006 09:03:48 +0000 (09:03 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4963 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/gofon/fonreports/class_fonreport.inc

index 8306c34f747b62afd4f234b7db7a3dce0c860fc2..a01579672ab8d7ed47cc7204420f28f6d402424b 100644 (file)
@@ -209,7 +209,7 @@ class fonreport extends plugin
 
         if($attr == "duration") continue;
   
-        $acl = $this->ui->get_permissions($this->search_base,"gofon/fonreport",$value);
+        $acl = $this->ui->get_permissions($this->search_base,"gofon/fonreport",$attr);
         if(!preg_match("/r/",$acl)){
           $line[$attr] = $no_acl;
         }