From ca9225972feb4442178d791f7a4948e748a96afb Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 29 Feb 2024 09:37:19 -0800 Subject: [PATCH] =?UTF-8?q?Fix=20issue=20about=20=E2=80=98bVotes=E2=80=99?= =?UTF-8?q?=20and=20=E2=80=98bVoting=E2=80=99=20not=20having=20default=20v?= =?UTF-8?q?alues?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/SemanticScuttle/Service/Bookmark.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/SemanticScuttle/Service/Bookmark.php b/src/SemanticScuttle/Service/Bookmark.php index 39ec4f0..56003c6 100644 --- a/src/SemanticScuttle/Service/Bookmark.php +++ b/src/SemanticScuttle/Service/Bookmark.php @@ -504,7 +504,9 @@ class SemanticScuttle_Service_Bookmark extends SemanticScuttle_DbService 'bPrivateNote' => $privateNote, 'bStatus' => intval($status), 'bHash' => $this->getHash($address), - 'bShort' => $short + 'bShort' => $short, + 'bVotes' => 0, + 'bVoting' => 0, ); $sql = 'INSERT INTO '. $this->getTableName()