From: Roan Kattouw Date: Sat, 26 Apr 2008 14:40:54 +0000 (+0000) Subject: API: Make ApiResult::setIndexedTagName_recursive() actually work. This fixes bug... X-Git-Tag: 1.31.0-rc.0~48060 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=2dac1a9250dbb447d1e2590d37daad3689dd7c03;p=lhc%2Fweb%2Fwiklou.git API: Make ApiResult::setIndexedTagName_recursive() actually work. This fixes bug 13836 --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 6a644e10c7..b14a7b49b2 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -267,6 +267,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 13792) Broken titles are now silently skipped in search results. * (bug 13819) exturlusage paging skipped an item * Fixed handling of usernames containing spaces in list=block +* (bug 13836) Fixed fatal errors resulting from combining iiprop=metadata with + format=xml === Languages updated in 1.13 === diff --git a/includes/api/ApiResult.php b/includes/api/ApiResult.php index 59000bfe4e..29d08ecc4b 100644 --- a/includes/api/ApiResult.php +++ b/includes/api/ApiResult.php @@ -147,7 +147,7 @@ class ApiResult extends ApiBase { { if(!is_array($arr)) return; - foreach($arr as $a) + foreach($arr as &$a) { if(!is_array($a)) continue;