Fix bug with NULL for message's sender name

This commit is contained in:
Dmitriy Simushev 2012-10-11 11:42:09 +00:00
parent 38668789b9
commit c1b633843f

View File

@ -727,7 +727,7 @@ Class Thread {
':threadid' => $this->id,
':kind' => $kind,
':message' => $message,
':name' => ($from ? $from : "null"),
':name' => ($from ? $from : NULL),
':agentid' => ($opid ? $opid : 0),
':created' => ($time ? $time : time())
);