From aba9fad1a39d62c53acfc717467f0a290efca08d Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Sun, 4 Dec 2005 14:49:26 +0000 Subject: [PATCH] unitialized variable --- config/index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/config/index.php b/config/index.php index 2f6b9927f5..21207d5d4b 100644 --- a/config/index.php +++ b/config/index.php @@ -1328,6 +1328,7 @@ function getLanguageList() { $d = opendir( "../languages" ); while( false !== ($f = readdir( $d ) ) ) { + $m = array(); if( preg_match( '/Language([A-Z][a-z_]+)\.php$/', $f, $m ) ) { $code = str_replace( '_', '-', strtolower( $m[1] ) ); if( isset( $wgLanguageNames[$code] ) ) { -- 2.20.1