mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-24 14:03:16 +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)
|
public function directoryCities(Request $request, $country)
|
||||||
{
|
{
|
||||||
$country = urldecode($country);
|
$country = ucfirst(urldecode($country));
|
||||||
$places = Place::whereCountry($country)
|
$places = Place::whereCountry($country)
|
||||||
->orderBy('name', 'asc')
|
->orderBy('name', 'asc')
|
||||||
->distinct('name')
|
->distinct('name')
|
||||||
|
|
Loading…
Reference in a new issue