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'];