mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-12 17:08:34 +01:00
I can't totally remember if the menuaction is always passed as a GET var, but this is more cleaner.
This commit is contained in:
parent
b7900846cc
commit
ef1c96f268
@ -59,9 +59,9 @@
|
||||
$this->maxmatches = 15;
|
||||
}
|
||||
|
||||
if(isset($GLOBALS['menuaction']))
|
||||
if(isset($GLOBALS['HTTP_GET_VARS']['menuaction']))
|
||||
{
|
||||
$this->action = $GLOBALS['menuaction'];
|
||||
$this->action = $GLOBALS['HTTP_GET_VARS']['menuaction'];
|
||||
}
|
||||
}
|
||||
|
||||
@ -109,7 +109,10 @@
|
||||
@reset($extravars);
|
||||
while(list($var,$value) = each($extravars))
|
||||
{
|
||||
$t_extras[] = $var.'='.$value;
|
||||
if($var != 'menuaction')
|
||||
{
|
||||
$t_extras[] = $var.'='.$value;
|
||||
}
|
||||
}
|
||||
$extras = implode($t_extras,'&');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user