From 8480fa097e70beed28191b58c162be4cb57173f3 Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Fri, 6 Sep 2019 12:54:49 -0400
Subject: [PATCH] Parentheses!

---
 module/VuFind/src/VuFind/View/Helper/Root/Overdrive.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/module/VuFind/src/VuFind/View/Helper/Root/Overdrive.php b/module/VuFind/src/VuFind/View/Helper/Root/Overdrive.php
index 8be2eaa3a2e..13441d2e1b0 100644
--- a/module/VuFind/src/VuFind/View/Helper/Root/Overdrive.php
+++ b/module/VuFind/src/VuFind/View/Helper/Root/Overdrive.php
@@ -96,6 +96,6 @@ class Overdrive extends \Zend\View\Helper\AbstractHelper
             return false;
         }
         $config = $this->connector->getConfig();
-        return (bool)$config->showOverdriveAdminMenu ?? false;
+        return (bool)($config->showOverdriveAdminMenu ?? false);
     }
 }
-- 
GitLab