From 671a8f558da5dd1b069c20feaffa33c0d43a77a1 Mon Sep 17 00:00:00 2001
From: cedelis <cedelis@uillinois.edu>
Date: Tue, 26 Apr 2016 11:03:34 -0500
Subject: [PATCH] FromAgencyId is necessary when making consortial ncip
 requests

---
 module/VuFind/src/VuFind/ILS/Driver/XCNCIP2.php | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/module/VuFind/src/VuFind/ILS/Driver/XCNCIP2.php b/module/VuFind/src/VuFind/ILS/Driver/XCNCIP2.php
index 787e4382b31..58d6805b0c1 100644
--- a/module/VuFind/src/VuFind/ILS/Driver/XCNCIP2.php
+++ b/module/VuFind/src/VuFind/ILS/Driver/XCNCIP2.php
@@ -1757,6 +1757,11 @@ class XCNCIP2 extends AbstractBase implements \VuFindHttp\HttpServiceAwareInterf
         if (!is_null($patron_agency_id)) {
             $ret .=
                    '<ns1:InitiationHeader>' .
+                        '<ns1:FromAgencyId>' .
+                            '<ns1:AgencyId>' .
+                                htmlspecialchars($patron_agency_id) .
+                            '</ns1:AgencyId>' .
+                        '</ns1:FromAgencyId>' .
                         '<ns1:ToAgencyId>' .
                             '<ns1:AgencyId>' .
                                 htmlspecialchars($patron_agency_id) .
-- 
GitLab