Skip to content
Snippets Groups Projects
Commit 935f3845 authored by Demian Katz's avatar Demian Katz
Browse files

Resolving VUFIND-802 (HorizonXMLAPI bug fixes).

Thanks to Jay Roos.
parent 04a7c4a2
No related merge requests found
......@@ -22,7 +22,7 @@ dateformat = "m/d/Y"
[Holds]
; HMACKeys - A list of hold form element names that will be analyzed for consistency
; during hold form processing. Most users should not need to change this setting.
HMACKeys = item_id
HMACKeys = item_id:id:level
; notify - The method by which users are notified when their hold / request is
; available. Must correspond with a Horizon system setting.
......
......@@ -456,7 +456,7 @@ class HorizonXMLAPI extends Horizon implements \VuFindHttp\HttpServiceAwareInter
// set itemkey only if available and level is not title-level
if ($itemData['id'] != '' && $itemData['level'] != 'title') {
$params += array("itemkey" => $itemData);
$params += array("itemkey" => $itemData['id']);
}
$initResponse = $this->makeRequest($params);
......
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