@@ -27,7 +27,9 @@ |
||
| 27 | 27 | $form = (isset($args[3])) ? $args[3] : null; |
| 28 | 28 | } |
| 29 | 29 | |
| 30 | - if($headingLevel) $this->headingLevel = $headingLevel; |
|
| 30 | + if($headingLevel) { |
|
| 31 | + $this->headingLevel = $headingLevel; |
|
| 32 | + } |
|
| 31 | 33 | $this->allowHTML = $allowHTML; |
| 32 | 34 | parent::__construct($name, $title, null, $allowHTML, $form); |
| 33 | 35 | } |
@@ -226,8 +226,9 @@ |
||
| 226 | 226 | $gmap = self::instance(); |
| 227 | 227 | if ($list) { |
| 228 | 228 | foreach ($list as $mappable) { |
| 229 | - if (self::ChooseToAddDataobject($mappable)) |
|
| 230 | - $gmap->addMarkerAsObject($mappable, $infowindowtemplateparams); |
|
| 229 | + if (self::ChooseToAddDataobject($mappable)) { |
|
| 230 | + $gmap->addMarkerAsObject($mappable, $infowindowtemplateparams); |
|
| 231 | + } |
|
| 231 | 232 | } |
| 232 | 233 | } |
| 233 | 234 | return $gmap; |