From: Platonides Date: Wed, 29 Sep 2010 20:24:38 +0000 (+0000) Subject: Follow up r73951 X-Git-Tag: 1.31.0-rc.0~34734 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=4730fdce279a90fb52e027bdb678e6560d17ca8f;p=lhc%2Fweb%2Fwiklou.git Follow up r73951 --- diff --git a/includes/MessageCache.php b/includes/MessageCache.php index df572c866f..69379bcd19 100644 --- a/includes/MessageCache.php +++ b/includes/MessageCache.php @@ -546,7 +546,9 @@ class MessageCache { } $lang = wfGetLangObj( $langcode ); - if (!$lang) throw new MWException( "Bad lang code $langcode given" ); + if ( !$lang ) { + throw new MWException( "Bad lang code $langcode given" ); + } $langcode = $lang->getCode();