diff --git a/src/messenger/webim/libs/classes/thread.php b/src/messenger/webim/libs/classes/thread.php index 711ab303..b1d3480e 100644 --- a/src/messenger/webim/libs/classes/thread.php +++ b/src/messenger/webim/libs/classes/thread.php @@ -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()) );