File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
module/VuFind/src/VuFind/ILS/Driver Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1547,8 +1547,8 @@ protected function patronLoginWithOkapi($username, $password)
15471547 * Support method for patronLogin(): authenticate the patron with a CQL looup.
15481548 * Returns the CQL query for retrieving more information about the user.
15491549 *
1550- * @param string $username The patron username
1551- * @param string $password The patron password
1550+ * @param string $username The patron username
1551+ * @param ? string $password The patron password
15521552 *
15531553 * @return string
15541554 */
@@ -1570,7 +1570,7 @@ protected function getUserWithCql($username, $password)
15701570 $ usernameField ,
15711571 $ passwordField ,
15721572 $ this ->escapeCql ($ username ),
1573- $ this ->escapeCql ($ password ),
1573+ $ this ->escapeCql ($ password ?? '' ),
15741574 ];
15751575 return str_replace ($ placeholders , $ values , $ cql );
15761576 }
You can’t perform that action at this time.
0 commit comments