Fix unliking liked
This commit is contained in:
parent
199361a562
commit
f60da34357
|
@ -2695,7 +2695,7 @@ class Item extends BaseObject
|
|||
}
|
||||
|
||||
$base_condition = ['verb' => $verbs, 'deleted' => false, 'gravity' => GRAVITY_ACTIVITY,
|
||||
'author-id' => $author_contact['id'], 'uid' => item['uid']];
|
||||
'author-id' => $author_contact['id'], 'uid' => $item['uid']];
|
||||
|
||||
$condition = array_merge($base_condition, ['parent' => $item_id]);
|
||||
$like_item = self::selectFirst(['id', 'guid', 'verb'], $condition);
|
||||
|
|
Loading…
Reference in a new issue