diff --git a/inc/pageutils.php b/inc/pageutils.php
index 33b93bd727866f414c395a8ae51568f56fbff165..eb22084c1d5660beeba6f05358b49c7026965905 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'];