aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2017-10-08 22:08:18 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2017-10-13 09:35:44 +0200
commit88bac4a33ef4270049b009b215504bf9bcb0030a (patch)
treeadcb63f7205b32fdd140e6e27bb9874ff587900a /src
parentf44a927530476eaf903525481e5e8114c3b017b8 (diff)
downloadwallabag-88bac4a33ef4270049b009b215504bf9bcb0030a.tar.gz
wallabag-88bac4a33ef4270049b009b215504bf9bcb0030a.tar.zst
wallabag-88bac4a33ef4270049b009b215504bf9bcb0030a.zip
Changed reading_time field to prevent null values
Diffstat (limited to 'src')
-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