summaryrefslogtreecommitdiff
path: root/inc/pageutils.php
diff options
context:
space:
mode:
authorAndreas Gohr <gohr@cosmocode.de>2010-03-02 09:27:49 +0100
committerAndreas Gohr <gohr@cosmocode.de>2010-03-02 09:27:49 +0100
commitb6084253c3d06924ef5817c67d4ae983bb007f39 (patch)
treee9cff163144c2395d6a5e56fee198efe122d4b6f /inc/pageutils.php
parentd9e36cbead0f9eaf3ffdd0bd1249dbe39fc9cb30 (diff)
downloadrpg-b6084253c3d06924ef5817c67d4ae983bb007f39.tar.gz
rpg-b6084253c3d06924ef5817c67d4ae983bb007f39.tar.bz2
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.
Diffstat (limited to 'inc/pageutils.php')
-rw-r--r--inc/pageutils.php2
1 files changed, 1 insertions, 1 deletions
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'];