Skip to content

Commit db7dd1a

Browse files
committed
fixed #12 - Undefined notice in service
1 parent 961d7fd commit db7dd1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Service.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class Service {
4242
*/
4343
public function getPermissions(Concrete $object): array {
4444

45-
if($this->permissionCache[$object->getId()]) {
45+
if(isset($this->permissionCache[$object->getId()])) {
4646
return $this->permissionCache[$object->getId()];
4747
}
4848

0 commit comments

Comments
 (0)