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,'?'))