Index: trunk/extensions/Maps/ParserFunctions/Maps_ParserGeocoder.php |
— | — | @@ -36,7 +36,7 @@ |
37 | 37 | |
38 | 38 | // Get the service and geoservice from the parameters, since they are needed to geocode addresses. |
39 | 39 | for ($i = 0; $i < count($params); $i++) { |
40 | | - $split = split('=', $params[$i]); |
| 40 | + $split = explode('=', $params[$i]); |
41 | 41 | if (MapsMapper::inParamAliases(strtolower(trim($split[0])), 'service') && count($split) > 1) { |
42 | 42 | $service = trim($split[1]); |
43 | 43 | } |
— | — | @@ -51,7 +51,7 @@ |
52 | 52 | |
53 | 53 | // Go over all parameters. |
54 | 54 | for ($i = 0; $i < count($params); $i++) { |
55 | | - $split = split('=', $params[$i]); |
| 55 | + $split = explode('=', $params[$i]); |
56 | 56 | $isAddress = (strtolower(trim($split[0])) == 'address' || strtolower(trim($split[0])) == 'addresses') && count($split) > 1; |
57 | 57 | $isDefault = count($split) == 1; |
58 | 58 | |