dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Follow up r73951
[lhc/web/wiklou.git]
/
includes
/
MessageCache.php
diff --git
a/includes/MessageCache.php
b/includes/MessageCache.php
index
df572c8
..
69379bc
100644
(file)
--- 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();