From 4659ebf46c4c0602030fa5427eb3867cc380e51f Mon Sep 17 00:00:00 2001 From: skeeter Date: Sun, 17 Jun 2001 04:40:04 +0000 Subject: [PATCH] Fixed a problem where the level still had a small problem. This will still leave a trailing '&' at the end of the URL. --- phpgwapi/inc/class.menutree.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.menutree.inc.php b/phpgwapi/inc/class.menutree.inc.php index 2198713674..459cc1c2f1 100644 --- a/phpgwapi/inc/class.menutree.inc.php +++ b/phpgwapi/inc/class.menutree.inc.php @@ -362,7 +362,7 @@ var $last_column_size; $src = $REQUEST_URI; if(ereg('[\?\&]p=',$src) != 0) { - $src = ereg_replace('[\?\&]p=([0-9\|])','',$REQUEST_URI); + $src = ereg_replace('[\?\&]p=([0-9\|])+','',$REQUEST_URI); } // echo 'Src = '.$src."
\n"; if(strpos(' '.$src,'?'))