From f74a54b9bf2807b7830831e86cbbd0dfe3c7734f Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 26 Jun 2018 03:58:12 +0000 Subject: [PATCH] Standard stuff --- src/Model/Item.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Model/Item.php b/src/Model/Item.php index 4847a1171f..6fe4a575dd 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -1485,7 +1485,7 @@ class Item extends BaseObject $item_content = dba::selectFirst('item-content', ['id'], ['uri' => $item['uri']]); if (DBM::is_result($item_content)) { $item['icid'] = $item_content['id']; - logger('Insert content for URI '.$item['uri'].' ('.$item['icid'].')'); + logger('Insert content for URI ' . $item['uri'] . ' (' . $item['icid'] . ')'); } } @@ -1511,10 +1511,10 @@ class Item extends BaseObject if (!empty($item['plink'])) { $fields['plink'] = $item['plink']; - $fields['uri-plink-hash'] = hash('sha1', $item['plink']).hash('sha1', $condition['uri']); + $fields['uri-plink-hash'] = hash('sha1', $item['plink']) . hash('sha1', $condition['uri']); } - logger('Update content for URI '.$condition['uri']); + logger('Update content for URI ' . $condition['uri']); dba::update('item-content', $fields, $condition, true); } -- 2.39.5