Skip to content

Commit 6ef14d0

Browse files
authored
Merge pull request #1005 from volandku/master
Allow to store in notes unicode, like cyrillic
2 parents 64b2daa + f9f63c5 commit 6ef14d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Conversation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ protected function updateStatus($status)
221221
public function update()
222222
{
223223
if ($this->exists()) {
224-
$fields = ['notes' => json_encode($this->notes)];
224+
$fields = ['notes' => json_encode($this->notes, JSON_UNESCAPED_UNICODE)];
225225
//I can update a conversation whatever the state is
226226
$where = ['id' => $this->conversation['id']];
227227
if (ConversationDB::updateConversation($fields, $where)) {

0 commit comments

Comments
 (0)