aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-01-26 11:03:41 +0100
committerMario Vavti <mario@mariovavti.com>2017-01-26 11:03:41 +0100
commitd64dcd298ec2267256a7ff8784a4c036ab6c11f7 (patch)
tree137e46c794e6c0c7def018ecdcb0310f0bbadbcf
parent02e8058c5069506952e4c9979b7dfe02b5dc5480 (diff)
downloadvolse-hubzilla-d64dcd298ec2267256a7ff8784a4c036ab6c11f7.tar.gz
volse-hubzilla-d64dcd298ec2267256a7ff8784a4c036ab6c11f7.tar.bz2
volse-hubzilla-d64dcd298ec2267256a7ff8784a4c036ab6c11f7.zip
haystack/needle mixup
-rwxr-xr-xinclude/items.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php
index 8213ab161..0c76fd4ee 100755
--- a/include/items.php
+++ b/include/items.php
@@ -3363,7 +3363,7 @@ function drop_item($id,$interactive = true,$stage = DROPITEM_NORMAL,$force = fal
$item = $r[0];
- $linked_item = (($item['resource_id'] && $item['resource_type'] && in_array($linked_resource_types,$item['resource_type'])) ? true : false);
+ $linked_item = (($item['resource_id'] && $item['resource_type'] && in_array($item['resource_type'], $linked_resource_types)) ? true : false);
$ok_to_delete = false;