From: Roan Kattouw Date: Thu, 5 Feb 2009 15:46:30 +0000 (+0000) Subject: Fix regression from r46845 which broke ApiResult::cleanUpUTF8() and caused an E_NOTICE X-Git-Tag: 1.31.0-rc.0~43028 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=4018f00fb4c3cf2bd428409f10b574d147ca3534;p=lhc%2Fweb%2Fwiklou.git Fix regression from r46845 which broke ApiResult::cleanUpUTF8() and caused an E_NOTICE --- diff --git a/includes/api/ApiResult.php b/includes/api/ApiResult.php index 3a1585d505..86a8d1db19 100644 --- a/includes/api/ApiResult.php +++ b/includes/api/ApiResult.php @@ -275,8 +275,7 @@ class ApiResult extends ApiBase { */ public function cleanUpUTF8() { - $data = & $this->getData(); - array_walk_recursive($data, array('ApiResult', 'cleanUp_helper')); + array_walk_recursive($this->mData, array('ApiResult', 'cleanUp_helper')); } private static function cleanUp_helper($s)