From: Brad Jorsch Date: Thu, 14 Sep 2017 19:53:22 +0000 (-0400) Subject: ApiFeedWatchlist: Fix copy-paste error X-Git-Tag: 1.31.0-rc.0~2094 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22sites_tous%22%29%20.%20%22?a=commitdiff_plain;h=de3eb81e4b2cfbb7b9cc63928d54fd0a66e69a67;p=lhc%2Fweb%2Fwiklou.git ApiFeedWatchlist: Fix copy-paste error Change-Id: Ibea5bd881c746d7c27c97fc470ee1e3ac9d4b699 --- diff --git a/includes/api/ApiFeedWatchlist.php b/includes/api/ApiFeedWatchlist.php index b7c5ccc269..e3a757f79a 100644 --- a/includes/api/ApiFeedWatchlist.php +++ b/includes/api/ApiFeedWatchlist.php @@ -167,7 +167,7 @@ class ApiFeedWatchlist extends ApiBase { // Something is seriously wrong $errorCode = 'internal_api_error'; } - $errorTitle = $this->msg( 'api-feed-error-title', $msg->getApiCode() ); + $errorTitle = $this->msg( 'api-feed-error-title', $errorCode ); $errorText = $e->getMessage(); $feedItems[] = new FeedItem( $errorTitle, $errorText, '', '', '' ); }