diff --git a/app/Libraries/Utils.php b/app/Libraries/Utils.php index f0112cc52f24..41e013b25b67 100644 --- a/app/Libraries/Utils.php +++ b/app/Libraries/Utils.php @@ -515,7 +515,7 @@ class Utils $industry->name = trans('texts.industry_'.$industry->name); })->sortBy(function ($industry) { return $industry->name; - }); + })->values(); $data['countries'] = Cache::get('countries')->each(function ($country) { $country->name = trans('texts.country_'.$country->name); @@ -533,7 +533,7 @@ class Utils $lang->name = trans('texts.lang_'.$lang->name); })->sortBy(function ($lang) { return $lang->name; - }); + })->values(); $data['currencies'] = Cache::get('currencies')->each(function ($currency) { $currency->name = trans('texts.currency_' . \Str::slug($currency->name, '_'));