mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 20:31:31 +02: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;
|
$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);
|
@reset($extravars);
|
||||||
while(list($var,$value) = each($extravars))
|
while(list($var,$value) = each($extravars))
|
||||||
{
|
{
|
||||||
$t_extras[] = $var.'='.$value;
|
if($var != 'menuaction')
|
||||||
|
{
|
||||||
|
$t_extras[] = $var.'='.$value;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
$extras = implode($t_extras,'&');
|
$extras = implode($t_extras,'&');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user