From c8b714447f267bb3592fb4b67c936d34a55192b7 Mon Sep 17 00:00:00 2001 From: Gregor Gawol <gawol@ub.uni-leipzig.de> Date: Mon, 9 Dec 2019 14:00:59 +0100 Subject: [PATCH] refs #16628 [fid] remove empty box * if ai record remove empty notice box --- module/fid/src/View/Helper/Root/GetIt.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/module/fid/src/View/Helper/Root/GetIt.php b/module/fid/src/View/Helper/Root/GetIt.php index 72a9f34a53d..aee1bc4139d 100644 --- a/module/fid/src/View/Helper/Root/GetIt.php +++ b/module/fid/src/View/Helper/Root/GetIt.php @@ -432,7 +432,17 @@ class GetIt extends AbstractHelper ) { return false; } + } elseif (in_array($this->sid, $this->_getSourceIds('source_idsV3'))) { + return false; } return true; } + + public function isAISIDRecord() + { + if (in_array($this->sid, $this->_getSourceIds('source_idsV3'))) { + return true; + } + return false; + } } -- GitLab