aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Feed.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2020-05-02 23:55:10 +0200
committerGravatar GitHub <noreply@github.com> 2020-05-02 23:55:10 +0200
commit83ba09c2a5f0ad12e7b6536d1c3b7cb4a8072005 (patch)
tree6b2ae1fe8b065f56f252151385112e0cfd87e8a3 /app/Models/Feed.php
parent1bb4c75db7460b91f7553fd316717510b90aa8c4 (diff)
Fever integer type for last_refreshed_on_time 2 (#2945)
#Fix fever_last_refreshed_on_time Try again https://github.com/FreshRSS/FreshRSS/pull/2944
Diffstat (limited to 'app/Models/Feed.php')
-rw-r--r--app/Models/Feed.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/Feed.php b/app/Models/Feed.php
index 0fc92f0bd..dd1c8ce22 100644
--- a/app/Models/Feed.php
+++ b/app/Models/Feed.php
@@ -212,7 +212,7 @@ class FreshRSS_Feed extends Minz_Model {
$this->description = $value === null ? '' : $value;
}
public function _lastUpdate($value) {
- $this->lastUpdate = $value;
+ $this->lastUpdate = intval($value);
}
public function _priority($value) {
$this->priority = intval($value);