another typo

This commit is contained in:
Mike Macgirvin 2024-03-12 05:19:48 +11:00
parent 1b92c18150
commit c1c16cccf3

View file

@ -3719,7 +3719,7 @@ function drop_related($item, $stage = DROPITEM_NORMAL, $force = false, $uid = 0,
if ($related['verb'] === 'Add' && str_contains($related['tgt_type'], 'Collection')) {
$thisItem = json_decode($related['obj'], true);
if (isset($thisItem['object']['id']) && $thisItem['object']['id'] === $item['mid']) {
drop_item($related['id'], $stage, $force, $uid, $observer_hash, $expire, $recurse: true);
drop_item($related['id'], $stage, $force, $uid, $observer_hash, $expire, recurse: true);
break;
}
}