Index: trunk/extensions/SemanticMaps/includes/forminputs/SM_FormInput.php |
— | — | @@ -182,7 +182,7 @@ |
183 | 183 | |
184 | 184 | return Html::inlineScript( |
185 | 185 | MapsMapper::getBaseMapJSON( $this->service->getName() . '_forminputs' ) |
186 | | - . "maps.{$this->service->getName()}_forminputs.{$mapName}=" . json_encode( $object ) . ';' |
| 186 | + . "maps.{$this->service->getName()}_forminputs.{$mapName}=" . FormatJson::encode( $object ) . ';' |
187 | 187 | ); |
188 | 188 | } |
189 | 189 | |