diff options
Diffstat (limited to 'inc/pageutils.php')
-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 6f21a6e2e..778e7d664 100644 --- a/inc/pageutils.php +++ b/inc/pageutils.php @@ -63,7 +63,7 @@ function getID($param='id',$clean=true){ $id = $id.noNS(cleanID($id)); }elseif(@file_exists(wikiFN($id))){ // page like namespace exists - $id = $id; + $id = substr($id,0,-1); }else{ // fall back to default $id = $id.$conf['start']; |