From d64dcd298ec2267256a7ff8784a4c036ab6c11f7 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Thu, 26 Jan 2017 11:03:41 +0100 Subject: haystack/needle mixup --- include/items.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3