forked from extern/egroupware
Fixed a problem where the level still had a small problem. This will still leave a trailing '&' at the end of the URL.
This commit is contained in:
parent
83c2195f27
commit
4659ebf46c
@ -362,7 +362,7 @@ var $last_column_size;
|
|||||||
$src = $REQUEST_URI;
|
$src = $REQUEST_URI;
|
||||||
if(ereg('[\?\&]p=',$src) != 0)
|
if(ereg('[\?\&]p=',$src) != 0)
|
||||||
{
|
{
|
||||||
$src = ereg_replace('[\?\&]p=([0-9\|])','',$REQUEST_URI);
|
$src = ereg_replace('[\?\&]p=([0-9\|])+','',$REQUEST_URI);
|
||||||
}
|
}
|
||||||
// echo 'Src = '.$src."<br>\n";
|
// echo 'Src = '.$src."<br>\n";
|
||||||
if(strpos(' '.$src,'?'))
|
if(strpos(' '.$src,'?'))
|
||||||
|
Loading…
Reference in New Issue
Block a user