diff options
author | zotlabs <mike@macgirvin.com> | 2016-10-26 21:52:53 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2016-10-26 21:52:53 -0700 |
commit | 2b3b5d2c8a5587c81d2c6abf46df7e74cb7f7d02 (patch) | |
tree | b74ba12a675b9866465eb05034a6f2bd6f397986 /Zotlabs/Module/Like.php | |
parent | d46fe209865d4b45bb4a27ec70744ee50a178dc7 (diff) | |
parent | 9e46409517c2f2fe1929d3332445aa8d8674c5ab (diff) | |
download | volse-hubzilla-2b3b5d2c8a5587c81d2c6abf46df7e74cb7f7d02.tar.gz volse-hubzilla-2b3b5d2c8a5587c81d2c6abf46df7e74cb7f7d02.tar.bz2 volse-hubzilla-2b3b5d2c8a5587c81d2c6abf46df7e74cb7f7d02.zip |
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
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 dd0bc99d4..43d318623 100644 --- a/Zotlabs/Module/Like.php +++ b/Zotlabs/Module/Like.php @@ -226,7 +226,7 @@ class Like extends \Zotlabs\Web\Controller { $z[0]['deleted'] = 1; build_sync_packet($ch[0]['channel_id'],array('likes' => $z)); - q("delete from likes where id = %d limit 1", + q("delete from likes where id = %d", intval($z[0]['id']) ); if($z[0]['i_mid']) { |