Fix issue about ‘bVotes’ and ‘bVoting’ not having default values

This commit is contained in:
Tom Willemse 2024-02-29 09:37:19 -08:00
parent 9f843178bc
commit ca9225972f

View file

@ -504,7 +504,9 @@ class SemanticScuttle_Service_Bookmark extends SemanticScuttle_DbService
'bPrivateNote' => $privateNote, 'bPrivateNote' => $privateNote,
'bStatus' => intval($status), 'bStatus' => intval($status),
'bHash' => $this->getHash($address), 'bHash' => $this->getHash($address),
'bShort' => $short 'bShort' => $short,
'bVotes' => 0,
'bVoting' => 0,
); );
$sql = 'INSERT INTO '. $this->getTableName() $sql = 'INSERT INTO '. $this->getTableName()