diff --git a/module/VuFind/src/VuFind/Role/PermissionProvider/ServerParam.php b/module/VuFind/src/VuFind/Role/PermissionProvider/ServerParam.php
index 615f0751eab7b342c8ec2a36a488f5dd13bfe444..b072b4a54e43939c5249f057fce7338ac9b063c5 100644
--- a/module/VuFind/src/VuFind/Role/PermissionProvider/ServerParam.php
+++ b/module/VuFind/src/VuFind/Role/PermissionProvider/ServerParam.php
@@ -144,7 +144,7 @@ class ServerParam implements PermissionProviderInterface,
 
         // server param values to check
         $serverParamString = $this->request->getServer()->get($serverParamName);
-        if ($serverParamString === false) {
+        if ($serverParamString === null) {
             // check fails if server param is missing
             return false;
         }
diff --git a/module/VuFind/src/VuFind/Role/PermissionProvider/Shibboleth.php b/module/VuFind/src/VuFind/Role/PermissionProvider/Shibboleth.php
index a7c9953a0883186383857031d66c0fce1bff4ac2..efbb30997fb4e0dc418863c09e18745a7a7c41ee 100644
--- a/module/VuFind/src/VuFind/Role/PermissionProvider/Shibboleth.php
+++ b/module/VuFind/src/VuFind/Role/PermissionProvider/Shibboleth.php
@@ -74,7 +74,7 @@ class Shibboleth extends ServerParam
      */
     public function getPermissions($options)
     {
-        if ($this->request->getServer()->get('Shib-Identity-Provider') === false) {
+        if ($this->request->getServer()->get('Shib-Identity-Provider') === null) {
             $this->logWarning('getPermissions: Shibboleth server params missing');
 
             return [];