From: Mark A. Hershberger Date: Wed, 2 Feb 2011 03:14:37 +0000 (+0000) Subject: follow up r81363 and fix Bug#27099 X-Git-Tag: 1.31.0-rc.0~32264 X-Git-Url: http://git.cyclocoop.org/%22%2C%20generer_url_ecrire%28?a=commitdiff_plain;h=72dd2cf8c69b09cbc799132e7874ac6f672dcbc9;p=lhc%2Fweb%2Fwiklou.git follow up r81363 and fix Bug#27099 --- diff --git a/includes/WebRequest.php b/includes/WebRequest.php index bf1155f88e..8478e7db5b 100644 --- a/includes/WebRequest.php +++ b/includes/WebRequest.php @@ -70,7 +70,7 @@ class WebRequest { if( $path == $wgScript && $want !== 'all' ) { // Script inside a rewrite path? // Abort to keep from breaking... - return; + return array(); } // Raw PATH_INFO style $matches = self::extractTitle( $path, "$wgScript/$1" );