From: Roan Kattouw Date: Sat, 10 Apr 2010 12:14:47 +0000 (+0000) Subject: Followup to r64850: replace $username with the right var X-Git-Tag: 1.31.0-rc.0~37169 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=5648f8649e266891d74eeba63b7dbdeb18422156;p=lhc%2Fweb%2Fwiklou.git Followup to r64850: replace $username with the right var --- diff --git a/includes/api/ApiRollback.php b/includes/api/ApiRollback.php index 7de4390e9a..920f5648ff 100644 --- a/includes/api/ApiRollback.php +++ b/includes/api/ApiRollback.php @@ -46,7 +46,7 @@ class ApiRollback extends ApiBase { $articleObj = new Article( $this->mTitleObj ); $summary = ( isset( $params['summary'] ) ? $params['summary'] : '' ); $details = null; - $retval = $articleObj->doRollback( $params['user'], $summary, $params['token'], $params['markbot'], $details ); + $retval = $articleObj->doRollback( $this->username, $summary, $params['token'], $params['markbot'], $details ); if ( $retval ) { // We don't care about multiple errors, just report one of them