fix mod like after recent changes
This commit is contained in:
parent
0e91810ed6
commit
1ad1b74512
@ -258,7 +258,7 @@ class Like extends \Zotlabs\Web\Controller {
|
|||||||
// get the item. Allow linked photos (which are normally hidden) to be liked
|
// get the item. Allow linked photos (which are normally hidden) to be liked
|
||||||
|
|
||||||
$r = q("SELECT * FROM item WHERE id = %d
|
$r = q("SELECT * FROM item WHERE id = %d
|
||||||
and (item_type in (0,6,7) and item_deleted = 0 and item_unpublished = 0
|
and item_type in (0,6,7) and item_deleted = 0 and item_unpublished = 0
|
||||||
and item_delayed = 0 and item_pending_remove = 0 and item_blocked = 0 LIMIT 1",
|
and item_delayed = 0 and item_pending_remove = 0 and item_blocked = 0 LIMIT 1",
|
||||||
intval($item_id)
|
intval($item_id)
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user