Index: trunk/phase3/includes/MessageCache.php |
— | — | @@ -546,7 +546,9 @@ |
547 | 547 | } |
548 | 548 | |
549 | 549 | $lang = wfGetLangObj( $langcode ); |
550 | | - if (!$lang) throw new MWException( "Bad lang code $langcode given" ); |
| 550 | + if ( !$lang ) { |
| 551 | + throw new MWException( "Bad lang code $langcode given" ); |
| 552 | + } |
551 | 553 | |
552 | 554 | $langcode = $lang->getCode(); |
553 | 555 | |