Home  ›  Bug Fixes  ›  Can not add city in manage >> system??

Can not add city in manage >> system??

Till version 2.2

There is a bug when you add a city like san diago , it will not be able to add it.

It has been fixed!

To fix it goto manage/system/city.php

Line 11


$cityname = preg_split('/[\s,]+/', $_POST['hotcity'], -1, PREG_SPLIT_NO_EMPTY);

Replace it with

$cityname = preg_split('/[,]+/', $_POST['hotcity'], -1, PREG_SPLIT_NO_EMPTY);

And you are done.

Thanks


Help us improve the wiki Send Your Comments