diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-09-06 11:42:16 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-09-06 11:42:16 +0200 |
commit | 0a7364d49497f6026797f059dd8da28c73bf8db5 (patch) | |
tree | 13e94fe17bb7d0b5dbaa2b40dc8143c1c09f21f8 /Zotlabs/Module/Like.php | |
parent | 2cce599fd7c45c1f2c3480eeb4e60d99d10d2ea2 (diff) | |
download | volse-hubzilla-0a7364d49497f6026797f059dd8da28c73bf8db5.tar.gz volse-hubzilla-0a7364d49497f6026797f059dd8da28c73bf8db5.tar.bz2 volse-hubzilla-0a7364d49497f6026797f059dd8da28c73bf8db5.zip |
make cards likeable
Diffstat (limited to 'Zotlabs/Module/Like.php')
-rw-r--r-- | Zotlabs/Module/Like.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Like.php b/Zotlabs/Module/Like.php index c995079ce..b104a5f5f 100644 --- a/Zotlabs/Module/Like.php +++ b/Zotlabs/Module/Like.php @@ -255,7 +255,7 @@ class Like extends \Zotlabs\Web\Controller { // get the item. Allow linked photos (which are normally hidden) to be liked $r = q("SELECT * FROM item WHERE id = %d - and item_type = 0 and item_deleted = 0 and item_unpublished = 0 + and (item_type = 0 or item_type = 6) and item_deleted = 0 and item_unpublished = 0 and item_delayed = 0 and item_pending_remove = 0 and item_blocked = 0 LIMIT 1", intval($item_id) ); |