diff --git a/app/models/Category.php b/app/models/Category.php index addc49009a..2e46bdd57b 100644 --- a/app/models/Category.php +++ b/app/models/Category.php @@ -23,7 +23,7 @@ class Category extends Eloquent { */ public function name() { - return nl2br($this->content); + return nl2br($this->name); }