summaryrefslogtreecommitdiff
path: root/inc/pageutils.php
diff options
context:
space:
mode:
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'];