For the maintenance/ directory files:
[lhc/web/wiklou.git] / maintenance / rebuildInterwiki.inc
index d719fd4..458693d 100644 (file)
@@ -108,6 +108,7 @@ function getRebuildInterwikiSQL() {
        $iwArray = array();
 
        foreach ( $lines as $line ) {
+               $matches = array();
                if ( preg_match( '/^\|\s*(.*?)\s*\|\|\s*(https?:\/\/.*?)\s*$/', $line, $matches ) ) {
                        $prefix = strtolower( $matches[1] );
                        $url = $matches[2];