r86555 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r86554‎ | r86555 | r86556 >
Date:21:51, 20 April 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Use of FormatJson::encode instead of josn_encode
Modified paths:
  • /trunk/extensions/SemanticMaps/includes/forminputs/SM_FormInput.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMaps/includes/forminputs/SM_FormInput.php
@@ -182,7 +182,7 @@
183183
184184 return Html::inlineScript(
185185 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 ) . ';'
187187 );
188188 }
189189

Status & tagging log