Skip to content

Commit f3e16bd

Browse files
committed
Merge pull request #153 from NAYZO/patch-1
minor fix in PublishWorkflowChecker.php
2 parents 7a28a96 + 2c96eb8 commit f3e16bd

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)