diff options
author | Tom Willemse | 2024-02-29 09:37:19 -0800 |
---|---|---|
committer | Tom Willemse | 2024-02-29 09:37:19 -0800 |
commit | ca9225972feb4442178d791f7a4948e748a96afb (patch) | |
tree | 009cbd0121dbb79795171a5ea76de857e39258ad /src/SemanticScuttle/Service | |
parent | 9f843178bc02d974ba983bc66b4b9827adcf568a (diff) | |
download | scuttle-fix-for-php-8.tar.gz scuttle-fix-for-php-8.zip |
Fix issue about ‘bVotes’ and ‘bVoting’ not having default valuesfix-for-php-8
Diffstat (limited to 'src/SemanticScuttle/Service')
-rw-r--r-- | src/SemanticScuttle/Service/Bookmark.php | 4 |
1 files changed, 3 insertions, 1 deletions
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() |