Skip to content

Commit 48ad843

Browse files
committed
Make sure the notes are an array to start with.
1 parent 959a76f commit 48ad843

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ConversationDB.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,7 @@ public static function insertConversation($user_id, $chat_id, $command)
9393
)
9494
');
9595
$active = 'active';
96-
//$notes = json_encode('');
97-
$notes = '""';
96+
$notes = '[]';
9897
$created_at = self::getTimestamp();
9998

10099
$sth->bindParam(':status', $active);

0 commit comments

Comments
 (0)