Skip to content

A free, self-hostable news aggregator…

Fever integer type for last_refreshed_on_time 2 (#2945)

Alexandre Alapetite83ba09c2a5f0
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);