summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/Models/Category.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/Category.php b/app/Models/Category.php
index a195c88b3..6956029ad 100644
--- a/app/Models/Category.php
+++ b/app/Models/Category.php
@@ -84,7 +84,7 @@ class FreshRSS_Category extends Minz_Model {
}
}
public function _name($value) {
- $this->name = trim($value);
+ $this->name = mb_strcut(trim($value), 0, 255, 'UTF-8');
}
public function _isDefault($value) {
$this->isDefault = $value;