diff options
Diffstat (limited to 'MLEB/Translate/api/ApiQueryMessageGroupStats.php')
-rw-r--r-- | MLEB/Translate/api/ApiQueryMessageGroupStats.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MLEB/Translate/api/ApiQueryMessageGroupStats.php b/MLEB/Translate/api/ApiQueryMessageGroupStats.php index 3f9ea6c4..274d0790 100644 --- a/MLEB/Translate/api/ApiQueryMessageGroupStats.php +++ b/MLEB/Translate/api/ApiQueryMessageGroupStats.php @@ -23,7 +23,7 @@ class ApiQueryMessageGroupStats extends ApiStatsQuery { protected function validateTargetParamater( array $params ) { $group = MessageGroups::getGroup( $params['group'] ); if ( !$group ) { - $this->dieWithError( [ 'apierror-missingparam', 'mgsgroup' ] ); + $this->dieWithError( [ 'apierror-badparameter', 'mgsgroup' ] ); } elseif ( MessageGroups::isDynamic( $group ) ) { $this->dieWithError( 'apierror-translate-nodynamicgroups', 'invalidparam' ); } |