diff options
| author | 2020-05-03 13:39:16 +0200 | |
|---|---|---|
| committer | 2020-05-03 13:39:16 +0200 | |
| commit | b1aac20839f6e1f3e733774eeb5984ce7b08c246 (patch) | |
| tree | 3581e72c05a22fdb65624d53fd8481eb1c9a5da0 /app/Models/Entry.php | |
| parent | 83ba09c2a5f0ad12e7b6536d1c3b7cb4a8072005 (diff) | |
Fever integer type for numbers (#2946)
* Fever integer type for feed ID
#Fix
https://github.com/FreshRSS/FreshRSS/issues/2940#issuecomment-623022435
* Fix feed_id
* Ensure string for entry ID
To be compatible with 32-bit platforms.
Before, the type was inconsistent depending on architecture + database
* Integer for entry count functions
Diffstat (limited to 'app/Models/Entry.php')
| -rw-r--r-- | app/Models/Entry.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/Entry.php b/app/Models/Entry.php index f4cd82288..584a16862 100644 --- a/app/Models/Entry.php +++ b/app/Models/Entry.php @@ -212,7 +212,7 @@ class FreshRSS_Entry extends Minz_Model { } private function _feedId($value) { $this->feed = null; - $this->feedId = $value; + $this->feedId = intval($value); } public function _tags($value) { $this->hash = null; |
