From a42c27ec98d86ce649c6ab0f1da3ad29237acc64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Lahmann?= <lahmann@ub.uni-leipzig.de> Date: Thu, 12 Jan 2023 14:27:11 +0100 Subject: [PATCH] refs #22989 [finc] codestyle fix --- module/finc/src/finc/ILS/Driver/FincLibero.php | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/module/finc/src/finc/ILS/Driver/FincLibero.php b/module/finc/src/finc/ILS/Driver/FincLibero.php index d9b832b8432..6a6589dd246 100644 --- a/module/finc/src/finc/ILS/Driver/FincLibero.php +++ b/module/finc/src/finc/ILS/Driver/FincLibero.php @@ -331,14 +331,10 @@ class FincLibero extends FincILS implements TranslatorAwareInterface // custom DAIA field $result_item['doc_id'] = $doc_id; - if ( - $isTitleHold - && - ( - !isset($this->noTitleHoldStatuses) + if ($isTitleHold + && ( !isset($this->noTitleHoldStatuses) || empty($this->noTitleHoldStatuses) - || !in_array($item['localIlsStatus'], $this->noTitleHoldStatuses) - ) + || !in_array($item['localIlsStatus'], $this->noTitleHoldStatuses)) ) { // this is a titleHold and we show TitleHoldLink $result_item['item_id'] = $titleHoldId; -- GitLab