X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fapi%2FApiFeedWatchlist.php;h=e3a757f79a5c55441c833ef21f91b88801c40955;hp=b7c5ccc269c5f76338b9fc8445141d7a95af2204;hb=a8379682a46a428320c88702c800a6107c015137;hpb=86aead2fcc86342f8aebd3f7673d0b830f384db9 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, '', '', '' ); }