From: Bryan Tong Minh Date: Mon, 2 Jun 2008 20:15:22 +0000 (+0000) Subject: ... and should have also made this an array X-Git-Tag: 1.31.0-rc.0~47233 X-Git-Url: http://git.cyclocoop.org/data/Fool?a=commitdiff_plain;h=9cb4023d9fc802ccaff47e2614985c57a8444d85;p=lhc%2Fweb%2Fwiklou.git ... and should have also made this an array --- diff --git a/includes/api/ApiEmailUser.php b/includes/api/ApiEmailUser.php index e1aa2ec20a..7e083536c9 100644 --- a/includes/api/ApiEmailUser.php +++ b/includes/api/ApiEmailUser.php @@ -53,7 +53,7 @@ class ApiEmailUser extends ApiBase { // Validate target $targetUser = EmailUserForm::validateEmailTarget( $params['target'] ); if ( !( $targetUser instanceof User ) ) - $this->dieUsageMsg( $targetUser[0] ); + $this->dieUsageMsg( array( $targetUser[0] ) ); // Check permissions $error = EmailUserForm::getPermissionsError( $wgUser, $params['token'] );