From c25a7c817fdd5ae82a3832daa3eaf3f21e9f78d5 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Fri, 30 Sep 2005 18:09:28 +0200 Subject: make sure $conf['start'] is a valid pagename #567 darcs-hash:20050930160928-7ad00-d3b2e2d7447eb93b6a39262221b8dbb131c698c9.gz --- inc/pageutils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/pageutils.php') diff --git a/inc/pageutils.php b/inc/pageutils.php index 9512399cd..25ba01684 100644 --- a/inc/pageutils.php +++ b/inc/pageutils.php @@ -50,7 +50,7 @@ function getID($param='id'){ $id = urldecode($id); $id = cleanID($id); } - if(empty($id) && $param=='id') $id = $conf['start']; + if(empty($id) && $param=='id') $id = cleanID($conf['start']); return $id; } -- cgit v1.2.3