X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FgenerateJsonI18n.php;h=a84f2ae52c789e4c98873d05d0450290728da21b;hb=b6b8526a04c072ed8a4b283f2c4ece8f4edda861;hp=d3041d9e8f50a0de489f231c9fd863f4cd5768c4;hpb=2f885ee6b797e5a176ce7b270b674a04b5945b06;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/generateJsonI18n.php b/maintenance/generateJsonI18n.php index d3041d9e8f..a84f2ae52c 100644 --- a/maintenance/generateJsonI18n.php +++ b/maintenance/generateJsonI18n.php @@ -108,6 +108,7 @@ class GenerateJsonI18n extends Maintenance { if ( !is_readable( $phpfile ) ) { $this->error( "Error reading $phpfile", 1 ); } + $messages = null; include $phpfile; $phpfileContents = file_get_contents( $phpfile );