aboutsummaryrefslogtreecommitdiffstats
path: root/mod/sharedwithme.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-03-23 11:06:13 +0100
committerMario Vavti <mario@mariovavti.com>2015-03-23 11:06:13 +0100
commitdd930f180ebb1983dd634fcf0d14369797425b55 (patch)
tree0c141510e31696d59b377695900a60ed419472a0 /mod/sharedwithme.php
parentd6ad74c649c411190ac7a910888ef426ab14ad55 (diff)
downloadvolse-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.php2
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())
);