We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 816206e commit 44ca79dCopy full SHA for 44ca79d
packetery/packetery.php
@@ -1801,7 +1801,7 @@ public function hookActionAdminControllerInitBefore(array $params)
1801
break;
1802
}
1803
1804
- if (!$hasUserPermission && property_exists($controller, 'errors')) {
+ if ($hasUserPermission === false && property_exists($controller, 'errors')) {
1805
$controller->errors[] = $this->l('You do not have permission to configure the Packeta module. Access denied.');
1806
1807
0 commit comments