diff --git a/phpgwapi/inc/class.menutree.inc.php b/phpgwapi/inc/class.menutree.inc.php index 28a6d420cb..fdf5c2325d 100644 --- a/phpgwapi/inc/class.menutree.inc.php +++ b/phpgwapi/inc/class.menutree.inc.php @@ -361,7 +361,7 @@ $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,'?'))