X-Git-Url: http://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_vote_del%27%2C%20idvote=vote.voteid%29%20%7D%7D?a=blobdiff_plain;f=includes%2Fapi%2FApiFeedWatchlist.php;h=e3a757f79a5c55441c833ef21f91b88801c40955;hb=de3eb81e4b2cfbb7b9cc63928d54fd0a66e69a67;hp=b7c5ccc269c5f76338b9fc8445141d7a95af2204;hpb=7e105610397b55d67f42f31496e92496477500e3;p=lhc%2Fweb%2Fwiklou.git 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, '', '', '' ); }