@@ -235,8 +235,9 @@ |
||
235 | 235 | |
236 | 236 | return $out; |
237 | 237 | } else { |
238 | - if ($cat_parent == 0) |
|
239 | - return _e('No category', 'geodirectory'); |
|
238 | + if ($cat_parent == 0) { |
|
239 | + return _e('No category', 'geodirectory'); |
|
240 | + } |
|
240 | 241 | } |
241 | 242 | return; |
242 | 243 | } |
@@ -198,7 +198,9 @@ discard block |
||
198 | 198 | $mapview = $maptype; |
199 | 199 | } |
200 | 200 | |
201 | - if (empty($mapzoom)) $mapzoom = $zoom; |
|
201 | + if (empty($mapzoom)) { |
|
202 | + $mapzoom = $zoom; |
|
203 | + } |
|
202 | 204 | |
203 | 205 | // Set default map options |
204 | 206 | $map_args['ajax_url'] = geodir_get_ajax_url(); |
@@ -326,8 +328,9 @@ discard block |
||
326 | 328 | |
327 | 329 | foreach ($map_zoom_level as $level) { |
328 | 330 | $selected = ''; |
329 | - if ($level == $zoom) |
|
330 | - $selected = 'selected="selected"'; |
|
331 | + if ($level == $zoom) { |
|
332 | + $selected = 'selected="selected"'; |
|
333 | + } |
|
331 | 334 | |
332 | 335 | echo '<option ' . $selected . ' value="' . $level . '">' . $level . '</option>'; |
333 | 336 |