Skip to content

Commit 2c96eb8

Browse files
committed
minor fix in PublishWorkflowChecker.php
1 parent 0138d33 commit 2c96eb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PublishWorkflow/PublishWorkflowChecker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public function isGranted($attributes, $object = null)
146146
$token = $this->getToken();
147147

148148
// not logged in, just check with a dummy token
149-
if (!$token) {
149+
if (null === $token) {
150150
$token = new AnonymousToken('', '');
151151
}
152152

0 commit comments

Comments
 (0)