From 0dc5e7b169565f8aa2a4c0d512f4ff8092946418 Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Thu, 6 Sep 2007 11:28:04 +0000 Subject: [PATCH] API: Really fixing bug 10898 this time --- includes/api/ApiQueryInfo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api/ApiQueryInfo.php b/includes/api/ApiQueryInfo.php index 518d1232b5..b1b1a9a4ac 100644 --- a/includes/api/ApiQueryInfo.php +++ b/includes/api/ApiQueryInfo.php @@ -140,7 +140,7 @@ class ApiQueryInfo extends ApiQueryBase { if($tok_edit) { $missing = $pageSet->getMissingTitles(); - $res = $result->getData(); + $res = &$result->getData(); foreach($missing as $pageid => $title) $res['query']['pages'][$pageid]['edittoken'] = $wgUser->editToken(); } -- 2.20.1