diff options
author | Andreas Gohr <gohr@cosmocode.de> | 2010-03-02 09:27:49 +0100 |
---|---|---|
committer | Andreas Gohr <gohr@cosmocode.de> | 2010-03-02 09:27:49 +0100 |
commit | b6084253c3d06924ef5817c67d4ae983bb007f39 (patch) | |
tree | e9cff163144c2395d6a5e56fee198efe122d4b6f /inc | |
parent | d9e36cbead0f9eaf3ffdd0bd1249dbe39fc9cb30 (diff) | |
download | rpg-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')
-rw-r--r-- | inc/pageutils.php | 2 |
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']; |