From 9d690a51c4ad6c64a101a23607132199e82536f9 Mon Sep 17 00:00:00 2001 From: umherirrender Date: Thu, 16 May 2013 08:55:39 +0200 Subject: [PATCH] Fix badcontinue in possible errors of paraminfo Badcontinue results in because there is one array deep too much. Change-Id: Iff88c3864f65e5da6cd31594396dffdaa71b5593 --- includes/api/ApiBase.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php index c50037016e..7e7365fbc9 100644 --- a/includes/api/ApiBase.php +++ b/includes/api/ApiBase.php @@ -1577,10 +1577,9 @@ abstract class ApiBase extends ContextSource { } if ( array_key_exists( 'continue', $params ) ) { $ret[] = array( - array( - 'code' => 'badcontinue', - 'info' => 'Invalid continue param. You should pass the original value returned by the previous query' - ) ); + 'code' => 'badcontinue', + 'info' => 'Invalid continue param. You should pass the original value returned by the previous query' + ); } } -- 2.20.1