From 72dd2cf8c69b09cbc799132e7874ac6f672dcbc9 Mon Sep 17 00:00:00 2001 From: "Mark A. Hershberger" Date: Wed, 2 Feb 2011 03:14:37 +0000 Subject: [PATCH] follow up r81363 and fix Bug#27099 --- includes/WebRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" ); -- 2.20.1