* Print results using the current printer
*/
protected function printResult($isError) {
- $this->getResult()->cleanupUTF8();
+ $this->getResult()->cleanUpUTF8();
$printer = $this->mPrinter;
$printer->profileIn();
array_walk_recursive($this->mData, array('ApiResult', 'cleanUp_helper'));
}
- private static function cleanUp_helper($s)
+ private static function cleanUp_helper(&$s)
{
if(!is_string($s))
- return $s;
- return UtfNormal::cleanUp($s);
+ return;
+ $s = UtfNormal::cleanUp($s);
}
public function execute() {