From: Sam Reed Date: Fri, 22 Jan 2010 10:48:57 +0000 (+0000) Subject: (bug 22225) - misspelt wpEdittoken -> wpEditToken in ApiEditPage X-Git-Tag: 1.31.0-rc.0~38170 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=9513f0bc3f361d9018390779ee1f172e7b342c1f;p=lhc%2Fweb%2Fwiklou.git (bug 22225) - misspelt wpEdittoken -> wpEditToken in ApiEditPage Patch By Matthew Britton --- diff --git a/includes/api/ApiEditPage.php b/includes/api/ApiEditPage.php index 9b141ea2e7..8c71bd62de 100644 --- a/includes/api/ApiEditPage.php +++ b/includes/api/ApiEditPage.php @@ -140,7 +140,7 @@ class ApiEditPage extends ApiBase { // EditPage wants to parse its stuff from a WebRequest // That interface kind of sucks, but it's workable $reqArr = array( 'wpTextbox1' => $params['text'], - 'wpEdittoken' => $params['token'], + 'wpEditToken' => $params['token'], 'wpIgnoreBlankSummary' => '' ); if ( !is_null( $params['summary'] ) )