diff --git a/hwe/func_legacy.php b/hwe/func_legacy.php index 7d21d793..01c55e70 100644 --- a/hwe/func_legacy.php +++ b/hwe/func_legacy.php @@ -42,9 +42,9 @@ function bar($per, $h=7) { function optionsForCities() { - return join('', function($city){ + return join('', array_map(function($city){ return ""; - }, CityConst::all()); + }, CityConst::all())); } function Submit($url, $msg="", $msg2="") {