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
Language::isValidBuiltInCode() should not accept uppercase input
[lhc/web/wiklou.git]
/
languages
/
Language.php
diff --git
a/languages/Language.php
b/languages/Language.php
index
0a19d61
..
887490b
100644
(file)
--- a/
languages/Language.php
+++ b/
languages/Language.php
@@
-339,7
+339,7
@@
class Language {
throw new MWException( __METHOD__ . " must be passed a string, $type given$addmsg" );
}
- return (bool)preg_match( '/^[a-z0-9-]{2,}$/
i
', $code );
+ return (bool)preg_match( '/^[a-z0-9-]{2,}$/', $code );
}
/**