diff --git a/app/Models/Account.php b/app/Models/Account.php index 4ee18e9c6c16..6eb3990a49df 100644 --- a/app/Models/Account.php +++ b/app/Models/Account.php @@ -200,7 +200,7 @@ class Account extends Eloquent public function expenseCategories() { - $this->hasMany('App\Models\ExpenseCategory','account_id','id')->withTrashed(); + return $this->hasMany('App\Models\ExpenseCategory','account_id','id')->withTrashed(); } public function setIndustryIdAttribute($value)