From 294895ab49eaa70990a7a76d9b4d8fb27aeae93c Mon Sep 17 00:00:00 2001 From: Cloud8 <4reading.rocks@gmail.com> Date: Fri, 2 Mar 2018 15:37:21 +0100 Subject: [PATCH] =?UTF-8?q?=20=09ge=C3=A4ndert:=20=20=20=20=20=20=20module?= =?UTF-8?q?/VuFind/src/VuFind/View/Helper/Root/RecordDataFormatter.php?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../VuFind/src/VuFind/View/Helper/Root/RecordDataFormatter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/VuFind/src/VuFind/View/Helper/Root/RecordDataFormatter.php b/module/VuFind/src/VuFind/View/Helper/Root/RecordDataFormatter.php index 80645778afa..8c4d7895860 100644 --- a/module/VuFind/src/VuFind/View/Helper/Root/RecordDataFormatter.php +++ b/module/VuFind/src/VuFind/View/Helper/Root/RecordDataFormatter.php @@ -282,7 +282,7 @@ class RecordDataFormatter extends AbstractHelper ? $options['separator'] : '<br />'; $retVal = ''; $array = (array)$data; - $remaining = count($data); + $remaining = count($array); foreach ($array as $line) { $remaining--; $text = $escaper($transDomain . $line); -- GitLab