mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 17:33:49 +01:00
only append cd=yes, if there is not already a cd value
This commit is contained in:
parent
ea0bc60ba5
commit
7e5d5c3d97
@ -330,7 +330,11 @@ else
|
||||
else
|
||||
{
|
||||
list($forward,$extra_vars) = explode('?',$forward,2);
|
||||
$extra_vars .= ($extra_vars ? '&' : '').'cd=yes';
|
||||
// only append cd=yes, if there is not already a cd value!
|
||||
if (strpos($extra_vars, 'cd=') === false)
|
||||
{
|
||||
$extra_vars .= ($extra_vars ? '&' : '').'cd=yes';
|
||||
}
|
||||
}
|
||||
|
||||
if(strpos($_SERVER['HTTP_REFERER'], $_SERVER['REQUEST_URI']) === false) {
|
||||
|
Loading…
Reference in New Issue
Block a user