mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 02:35:12 +00:00
sql issue in zot6handler
This commit is contained in:
parent
aff7f64f3e
commit
2aeb6d9ce2
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ class Zot6Handler implements IHandler {
|
|||
dbesc($recip)
|
||||
);
|
||||
if ($channel) {
|
||||
$abook = q("select abook_id from abook where uid = %d and abook_xchan = '%s' limit 1",
|
||||
$abook = q("select abook_id from abook where abook_channel = %d and abook_xchan = '%s' limit 1",
|
||||
intval($channel[0]['channel_id']),
|
||||
dbesc($sender)
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue