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
Merge "Allow false as return type of FileBackendStore::doGetFileXAttributes"
[lhc/web/wiklou.git]
/
languages
/
FakeConverter.php
diff --git
a/languages/FakeConverter.php
b/languages/FakeConverter.php
index
c4ec638
..
2fc85e5
100644
(file)
--- a/
languages/FakeConverter.php
+++ b/
languages/FakeConverter.php
@@
-116,6
+116,10
@@
class FakeConverter {
}
function validateVariant( $variant = null ) {
+ if ( $variant === null ) {
+ return null;
+ }
+ $variant = strtolower( $variant );
return $variant === $this->mLang->getCode() ? $variant : null;
}