Completed
Push — 2.0 ( 4f7a94...ecedba )
by Jason
11s
created
code/pages/Locator.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -248,7 +248,9 @@
 block discarded – undo
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');
Please login to merge, or discard this patch.