aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Feed.php
diff options
context:
space:
mode:
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 dd1c8ce22..34c036921 100644
--- a/app/Models/Feed.php
+++ b/app/Models/Feed.php
@@ -180,7 +180,7 @@ class FreshRSS_Feed extends Minz_Model {
}
public function _id($value) {
- $this->id = $value;
+ $this->id = intval($value);
}
public function _url($value, $validate = true) {
$this->hash = null;