X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/supprimer.php?a=blobdiff_plain;f=languages%2FLanguageConverter.php;h=13ba7e84b7f356db8bd5165f29d1ab0e1804774f;hb=9850c542c6275dfa97eeaf458826ffbd47bbd684;hp=b31b10ffc7c014ca2832383f5e37a80a523c6257;hpb=42d5e6f43a00eb8bedc3532876125f74e3188343;p=lhc%2Fweb%2Fwiklou.git
diff --git a/languages/LanguageConverter.php b/languages/LanguageConverter.php
index b31b10ffc7..13ba7e84b7 100644
--- a/languages/LanguageConverter.php
+++ b/languages/LanguageConverter.php
@@ -1086,11 +1086,11 @@ class LanguageConverter {
// -{zh-hans:xxx;zh-hant:\
// yyy;}-
// we should split it as:
- // array(
+ // [
// [0] => 'zh-hans:xxx'
// [1] => 'zh-hant:yyy'
// [2] => ''
- // )
+ // ]
$pat = '/;\s*(?=';
foreach ( $this->mVariants as $variant ) {
// zh-hans:xxx;zh-hant:yyy