@@ -248,7 +248,9 @@ |
||
248 | 248 | |
249 | 249 | // map config based on user input in Settings tab |
250 | 250 | $limit = Config::inst()->get('Locator_Controller', 'limit'); |
251 | - if ($limit < 1) $limit = -1; |
|
251 | + if ($limit < 1) { |
|
252 | + $limit = -1; |
|
253 | + } |
|
252 | 254 | $load = 'fullMapStart: true, storeLimit: ' . $limit . ', maxDistance: true,'; |
253 | 255 | |
254 | 256 | $listTemplatePath = Config::inst()->get('Locator_Controller', 'list_template_path'); |