diff options
Diffstat (limited to 'app/models/Feed.php')
| -rw-r--r-- | app/models/Feed.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/app/models/Feed.php b/app/models/Feed.php index e28657612..8bc717a48 100644 --- a/app/models/Feed.php +++ b/app/models/Feed.php @@ -53,12 +53,21 @@ class Feed extends Model { $this->category = $value; } public function _name ($value) { + if (is_null ($value)) { + $value = ''; + } $this->name = $value; } public function _website ($value) { + if (is_null ($value)) { + $value = ''; + } $this->website = $value; } public function _description ($value) { + if (is_null ($value)) { + $value = ''; + } $this->description = $value; } |
