diff --git a/module/finc/src/finc/ILS/Driver/FincILS.php b/module/finc/src/finc/ILS/Driver/FincILS.php index 9822588548531c7e593f84de254ec537d16e2d48..3ab786cc25cf9353d0aa01ddab75ae89d995cd8b 100644 --- a/module/finc/src/finc/ILS/Driver/FincILS.php +++ b/module/finc/src/finc/ILS/Driver/FincILS.php @@ -1530,8 +1530,10 @@ class FincILS extends PAIA implements LoggerAwareInterface return current($result->getRecords())->getUniqueId(); } catch (\Exception $e) { $this->debug($e); - // refs #12318 return null if no main identifier can delivered - return null; + // refs #12318 return falls if no main identifier can delivered + // null will logically correct but throws exceptions in + // subsequential core methods + return false; } } // todo: check if return $ilsId is reasonable in context.