From 2dac1a9250dbb447d1e2590d37daad3689dd7c03 Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Sat, 26 Apr 2008 14:40:54 +0000 Subject: [PATCH] API: Make ApiResult::setIndexedTagName_recursive() actually work. This fixes bug 13836 --- RELEASE-NOTES | 2 ++ includes/api/ApiResult.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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; -- 2.20.1