Skip to content

Commit

Permalink
Use isset() per recommendation
Browse files Browse the repository at this point in the history
  • Loading branch information
dltj committed May 26, 2023
1 parent 1f526c5 commit 56af7b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/VuFind/src/VuFind/ILS/Driver/Folio.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
Expand Down

0 comments on commit 56af7b1

Please sign in to comment.