Преглед изворни кода

Use the right object for ACL validation

Pascal Burkhard пре 14 година
родитељ
комит
43a5cb8188
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      Security/Handler/AclSecurityHandler.php

+ 1 - 1
Security/Handler/AclSecurityHandler.php

@@ -26,7 +26,7 @@ class AclSecurityHandler implements SecurityHandlerInterface
      */
     public function isGranted($attributes, $object = null)
     {
-        return $this->securityContext->isGranted($attributes, $this);
+        return $this->securityContext->isGranted($attributes, $object);
     }
 
     /**