diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-07-18 16:11:54 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-07-18 16:11:54 -0700 |
commit | 22c1737fc9b348229acc385bc8cb6c76a76cbbfb (patch) | |
tree | a66d9afddb40b3dd9b679ea9e65dee617fcd8388 /mod | |
parent | 3c60a0c22cc7945d8298a76d9dc2e30c1b2fb3c3 (diff) | |
parent | e62a4b1bc9ee5019490eb6c093824017c2d462be (diff) | |
download | volse-hubzilla-22c1737fc9b348229acc385bc8cb6c76a76cbbfb.tar.gz volse-hubzilla-22c1737fc9b348229acc385bc8cb6c76a76cbbfb.tar.bz2 volse-hubzilla-22c1737fc9b348229acc385bc8cb6c76a76cbbfb.zip |
Merge branch 'master' of https://github.com/redmatrix/hubzilla
Diffstat (limited to 'mod')
-rwxr-xr-x | mod/like.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/like.php b/mod/like.php index ffd302efa..9077adbda 100755 --- a/mod/like.php +++ b/mod/like.php @@ -242,8 +242,8 @@ function like_content(&$a) { // get the item. Allow linked photos (which are normally hidden) to be liked $r = q("SELECT * FROM item WHERE id = %d - and item_blocked = 0 and item_moderated = 0 and item_spam = 0 - and item_deleted = 0 and item_unpublished = 0 and item_delayed_publish = 0 LIMIT 1", + and item_type = 0 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) ); |