4
0
Эх сурвалжийг харах

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
Alexandre Alapetite 6 жил өмнө
parent
commit
83ba09c2a5
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      app/Models/Feed.php

+ 1 - 1
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);