mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 05:15:16 +00:00
issue with deletes cont.
This commit is contained in:
parent
8560c10df3
commit
bf0d21d203
1 changed files with 2 additions and 1 deletions
|
@ -2398,11 +2398,12 @@ class Libzot {
|
|||
$post_id = 0;
|
||||
|
||||
$r = q("select * from item where ( author_xchan = '%s' or owner_xchan = '%s' or source_xchan = '%s' )
|
||||
and mid = '%s' and uid = %d limit 1",
|
||||
and mid in ('%s','%s') and uid = %d limit 1",
|
||||
dbesc($sender),
|
||||
dbesc($sender),
|
||||
dbesc($sender),
|
||||
dbesc($item['mid']),
|
||||
dbesc(str_replace('/activity/','/item/',$item['mid'])),
|
||||
intval($uid)
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue