diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-03-23 11:06:13 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-03-23 11:06:13 +0100 |
commit | dd930f180ebb1983dd634fcf0d14369797425b55 (patch) | |
tree | 0c141510e31696d59b377695900a60ed419472a0 /mod/sharedwithme.php | |
parent | d6ad74c649c411190ac7a910888ef426ab14ad55 (diff) | |
download | volse-hubzilla-dd930f180ebb1983dd634fcf0d14369797425b55.tar.gz volse-hubzilla-dd930f180ebb1983dd634fcf0d14369797425b55.tar.bz2 volse-hubzilla-dd930f180ebb1983dd634fcf0d14369797425b55.zip |
sql in -> IN
Diffstat (limited to 'mod/sharedwithme.php')
-rw-r--r-- | mod/sharedwithme.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/sharedwithme.php b/mod/sharedwithme.php index 8874a7898..bee072ea7 100644 --- a/mod/sharedwithme.php +++ b/mod/sharedwithme.php @@ -82,7 +82,7 @@ function sharedwithme_content(&$a) { //remove trailing , $ids = rtrim($ids, ","); - q("UPDATE item SET item_unseen = 0 WHERE id in ( $ids ) AND uid = %d", + q("UPDATE item SET item_unseen = 0 WHERE id IN ( $ids ) AND uid = %d", intval(local_channel()) ); |