From: umherirrender Date: Thu, 16 May 2013 06:55:39 +0000 (+0200) Subject: Fix badcontinue in possible errors of paraminfo X-Git-Tag: 1.31.0-rc.0~19660 X-Git-Url: http://git.cyclocoop.org/%22.%24redirect_annul.%22?a=commitdiff_plain;h=9d690a51c4ad6c64a101a23607132199e82536f9;p=lhc%2Fweb%2Fwiklou.git Fix badcontinue in possible errors of paraminfo Badcontinue results in because there is one array deep too much. Change-Id: Iff88c3864f65e5da6cd31594396dffdaa71b5593 --- 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' + ); } }