aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/items.php')
-rwxr-xr-xinclude/items.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php
index 47b919bc6..a6ecbbb88 100755
--- a/include/items.php
+++ b/include/items.php
@@ -1249,7 +1249,7 @@ function item_store($arr,$force_parent = false) {
dbesc($arr['uri']),
intval($arr['uid'])
);
- if($r && count($r)) {
+ if($r) {
logger('item-store: duplicate item ignored. ' . print_r($arr,true));
return 0;
}