mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
Update PlaceController, fixes #2017
This commit is contained in:
parent
f400c632f0
commit
dd5fa3a49d
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ class PlaceController extends Controller
|
|||
|
||||
public function directoryCities(Request $request, $country)
|
||||
{
|
||||
$country = urldecode($country);
|
||||
$country = ucfirst(urldecode($country));
|
||||
$places = Place::whereCountry($country)
|
||||
->orderBy('name', 'asc')
|
||||
->distinct('name')
|
||||
|
|
Loading…
Reference in a new issue