Skip to content
Snippets Groups Projects
Commit 52d330b0 authored by Thomas Misilo's avatar Thomas Misilo Committed by Demian Katz
Browse files

Encode the Username

Encode the username, so spaces in the username don't throw an error.
parent f71a7d4a
No related merge requests found
...@@ -1603,7 +1603,7 @@ class KohaILSDI extends \VuFind\ILS\Driver\AbstractBase implements ...@@ -1603,7 +1603,7 @@ class KohaILSDI extends \VuFind\ILS\Driver\AbstractBase implements
// . "&password=" . $password // . "&password=" . $password
// ); // );
$idObj = $this->makeRequest( $idObj = $this->makeRequest(
"LookupPatron" . "&id=" . $username "LookupPatron" . "&id=" . urlencode($username)
. "&id_type=userid" . "&id_type=userid"
); );
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment