aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2017-10-18 11:33:30 +0200
committerGitHub <noreply@github.com>2017-10-18 11:33:30 +0200
commit1c5081cdc5bef1e6992b66db020a9348b5607d55 (patch)
tree27004b7ad2fbe9a33defa12789f73c64f87c5249 /src/Wallabag/CoreBundle
parent91f9bacf735e61072d6f0e9f47cc5ec6401193c7 (diff)
parentabce2f05dd41bd88d923745a7c8fe56d1f3fd944 (diff)
downloadwallabag-1c5081cdc5bef1e6992b66db020a9348b5607d55.tar.gz
wallabag-1c5081cdc5bef1e6992b66db020a9348b5607d55.tar.zst
wallabag-1c5081cdc5bef1e6992b66db020a9348b5607d55.zip
Merge pull request #3373 from wallabag/change-readingtime-notnull
Changed reading_time field to prevent null values
Diffstat (limited to 'src/Wallabag/CoreBundle')
-rw-r--r--src/Wallabag/CoreBundle/Entity/Entry.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/Entry.php b/src/Wallabag/CoreBundle/Entity/Entry.php
index 4367902e..cfb8db75 100644
--- a/src/Wallabag/CoreBundle/Entity/Entry.php
+++ b/src/Wallabag/CoreBundle/Entity/Entry.php
@@ -180,11 +180,11 @@ class Entry
180 /** 180 /**
181 * @var int 181 * @var int
182 * 182 *
183 * @ORM\Column(name="reading_time", type="integer", nullable=true) 183 * @ORM\Column(name="reading_time", type="integer", nullable=false)
184 * 184 *
185 * @Groups({"entries_for_user", "export_all"}) 185 * @Groups({"entries_for_user", "export_all"})
186 */ 186 */
187 private $readingTime; 187 private $readingTime = 0;
188 188
189 /** 189 /**
190 * @var string 190 * @var string