From b6084253c3d06924ef5817c67d4ae983bb007f39 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Tue, 2 Mar 2010 09:27:49 +0100 Subject: Revert "Redirect to start page for the root namespace too" This reverts commit 7873e7571e67c02167e5747441a2c6be32b07267. The patch breaks at least the behaviour of the "view recent changes of the whole wiki" link. --- inc/pageutils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/pageutils.php') diff --git a/inc/pageutils.php b/inc/pageutils.php index 33b93bd72..eb22084c1 100644 --- a/inc/pageutils.php +++ b/inc/pageutils.php @@ -60,7 +60,7 @@ function getID($param='id',$clean=true){ } // Namespace autolinking from URL - if(substr($id,-1) == ':' || ($conf['useslash'] && substr($id,-1) == '/') || $id == ''){ + if(substr($id,-1) == ':' || ($conf['useslash'] && substr($id,-1) == '/')){ if(page_exists($id.$conf['start'])){ // start page inside namespace $id = $id.$conf['start']; -- cgit v1.2.3