diff --git a/module/finc/src/finc/ILS/Driver/PAIA.php b/module/finc/src/finc/ILS/Driver/PAIA.php
index 9bda654ce34f71a33903cb2eea8a3f59a2d36b04..4e402a69116f4d0e3b9892cff9a0bfbd68a25431 100644
--- a/module/finc/src/finc/ILS/Driver/PAIA.php
+++ b/module/finc/src/finc/ILS/Driver/PAIA.php
@@ -351,7 +351,9 @@ class PAIA extends DAIA
                     isset($array_response['error_description'])
                         ? $array_response['error_description'] : ' '
             ];
-        } elseif ($array_response['patron'] === $post_data['patron']) {
+        } elseif (isset($array_response['patron'])
+            && $array_response['patron'] === $post_data['patron']
+        ) {
             // on success patron_id is returned
             $details = [
                 'success' => true,