Skip to content

Commit

Permalink
Update PlaceController, fixes #2017
Browse files Browse the repository at this point in the history
  • Loading branch information
dansup committed Feb 16, 2020
1 parent f400c63 commit dd5fa3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/PlaceController.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function directoryHome(Request $request)

public function directoryCities(Request $request, $country)
{
$country = urldecode($country);
$country = ucfirst(urldecode($country));
$places = Place::whereCountry($country)
->orderBy('name', 'asc')
->distinct('name')
Expand Down

0 comments on commit dd5fa3a

Please sign in to comment.