From 56af7b1a2d06f63c25c2e7b0456caae73f3d316a Mon Sep 17 00:00:00 2001 From: Peter Murray Date: Fri, 26 May 2023 16:17:02 -0400 Subject: [PATCH] Use isset() per recommendation --- module/VuFind/src/VuFind/ILS/Driver/Folio.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/VuFind/src/VuFind/ILS/Driver/Folio.php b/module/VuFind/src/VuFind/ILS/Driver/Folio.php index 901b44c9a0a..335104ddbfc 100644 --- a/module/VuFind/src/VuFind/ILS/Driver/Folio.php +++ b/module/VuFind/src/VuFind/ILS/Driver/Folio.php @@ -908,7 +908,7 @@ protected function getUserWithCql($username, $password) $usernameField = $this->config['User']['username_field'] ?? 'username'; $passwordField = $this->config['User']['password_field'] ?? false; if ( - array_key_exists('shib_cql', $this->config['User']) + isset($this->config['User']['shib_cql']) && array_key_exists('Shib-Session-ID', $_SERVER) ) { $cql = $this->config['User']['shib_cql'];