mirror of
https://github.com/Mibew/java.git
synced 2025-01-22 17:40:35 +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, " .
|
||||
"userAgent,groupid from {chatthread} where threadid = :threadid",
|
||||
array(
|
||||
':threadid' => $id,
|
||||
':now' => time()
|
||||
':threadid' => $id
|
||||
),
|
||||
array('return_rows' => Database::RETURN_ONE_ROW)
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user