mirror of
https://github.com/Mibew/java.git
synced 2025-01-23 01:50:34 +03:00
Fixed bug with wrong placeholders count in the 'thread_by_id' function
This commit is contained in:
parent
031dbdc2b2
commit
4db2ce5175
@ -684,8 +684,7 @@ function thread_by_id($id)
|
|||||||
"nextagent,shownmessageid,userid, " .
|
"nextagent,shownmessageid,userid, " .
|
||||||
"userAgent,groupid from {chatthread} where threadid = :threadid",
|
"userAgent,groupid from {chatthread} where threadid = :threadid",
|
||||||
array(
|
array(
|
||||||
':threadid' => $id,
|
':threadid' => $id
|
||||||
':now' => time()
|
|
||||||
),
|
),
|
||||||
array('return_rows' => Database::RETURN_ONE_ROW)
|
array('return_rows' => Database::RETURN_ONE_ROW)
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user