Skip to content

Commit

Permalink
Make sure the notes are an array to start with.
Browse files Browse the repository at this point in the history
  • Loading branch information
noplanman committed Jan 20, 2017
1 parent 959a76f commit 48ad843
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ConversationDB.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,7 @@ public static function insertConversation($user_id, $chat_id, $command)
)
');
$active = 'active';
//$notes = json_encode('');
$notes = '""';
$notes = '[]';
$created_at = self::getTimestamp();

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

0 comments on commit 48ad843

Please sign in to comment.