diff --git a/resources/macros/macros.php b/resources/macros/macros.php index 1cc754b7c..5d0813115 100644 --- a/resources/macros/macros.php +++ b/resources/macros/macros.php @@ -35,7 +35,7 @@ Form::macro('countries', function ($name = 'country', $selected = null, $class = // Pull the autoglossonym array from the localizations translation file $countries_array = trans('localizations.countries'); - $select = ''; $select .= ''; foreach ($countries_array as $abbr => $country) { @@ -46,13 +46,13 @@ Form::macro('countries', function ($name = 'country', $selected = null, $class = } // Loop through the countries configured in the localization file - $select .= ' '; + $select .= ' '; } // If the country value doesn't exist in the array, add it as a new option and select it so we don't drop that data if (!in_array($selected, $countries_array)) { - $select .= ' '; + $select .= ' '; } $select .= '';