diff --git a/module/GeebyDeeby/src/GeebyDeeby/Controller/SearchController.php b/module/GeebyDeeby/src/GeebyDeeby/Controller/SearchController.php index 3c4a4104..a7869bde 100644 --- a/module/GeebyDeeby/src/GeebyDeeby/Controller/SearchController.php +++ b/module/GeebyDeeby/src/GeebyDeeby/Controller/SearchController.php @@ -93,7 +93,8 @@ public function editionAttributeAjaxAction() $result = []; foreach ($this->getDbTable('editionsattributesvalues')->getAttributesForItem($ids, $attributeId) as $row) { // We only want to display one value per item, so it doesn't matter if we overwrite existing data here: - $result[$row['Item_ID']] = '' . htmlspecialchars($row['Editions_Attribute_Name']) . ': ' . htmlspecialchars($row['Editions_Attribute_Value']); + $result[$row['Item_ID']] = '' . htmlspecialchars($row['Editions_Attribute_Name']) . ': ' + . htmlspecialchars($row['Editions_Attribute_Value']); } return $this->jsonDie($result, true); } diff --git a/module/GeebyDeeby/src/GeebyDeeby/Db/Table/EditionsAttributesValues.php b/module/GeebyDeeby/src/GeebyDeeby/Db/Table/EditionsAttributesValues.php index aaf6f36c..3d1641bc 100644 --- a/module/GeebyDeeby/src/GeebyDeeby/Db/Table/EditionsAttributesValues.php +++ b/module/GeebyDeeby/src/GeebyDeeby/Db/Table/EditionsAttributesValues.php @@ -82,8 +82,8 @@ public function getAttributesForEdition($editionID) /** * Get a list of attributes for the specified item. * - * @param int|int[] $itemID Item ID (or array of IDs) - * @param ?int $attributeID Attribute ID filter (null for all attributes) + * @param int|int[] $itemID Item ID (or array of IDs) + * @param ?int $attributeID Attribute ID filter (null for all attributes) * * @return mixed */