diff options
Diffstat (limited to 'app/Models/Category.php')
| -rw-r--r-- | app/Models/Category.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/Category.php b/app/Models/Category.php index 6956029ad..cee137138 100644 --- a/app/Models/Category.php +++ b/app/Models/Category.php @@ -78,7 +78,7 @@ class FreshRSS_Category extends Minz_Model { } public function _id($id) { - $this->id = $id; + $this->id = intval($id); if ($id == FreshRSS_CategoryDAO::DEFAULTCATEGORYID) { $this->_name(_t('gen.short.default_category')); } |
