소스 검색

Merge pull request #1574 from jrdnhannah/master

Wrong variable being used, which causes a fatal error.
Thomas 11 년 전
부모
커밋
6806397db1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Util/AdminObjectAclManipulator.php

+ 1 - 1
Util/AdminObjectAclManipulator.php

@@ -64,7 +64,7 @@ class AdminObjectAclManipulator
         $objectIdentity = ObjectIdentity::fromDomainObject($data->getObject());
         $acl = $data->getSecurityHandler()->getObjectAcl($objectIdentity);
         if (!$acl) {
-            $acl = $this->getSecurityHandler()->createAcl($objectIdentity);
+            $acl = $data->getSecurityHandler()->createAcl($objectIdentity);
         }
 
         $data->setAcl($acl);