mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
Fix for the update(). Didn't set default value incoming to function.
This commit is contained in:
parent
1fdf5749a5
commit
bbb07938f5
@ -368,13 +368,13 @@
|
||||
return $this->so->list_events_keyword($keywords);
|
||||
}
|
||||
|
||||
function update($params)
|
||||
function update($params='')
|
||||
{
|
||||
$l_cal = ($params['cal']?$params['cal']:$GLOBALS['HTTP_POST_VARS']['cal']);
|
||||
$l_participants = ($params['participants']?$params['participants']:$GLOBALS['HTTP_POST_VARS']['participants']);
|
||||
$l_start = ($params['start']?$params['start']:$GLOBALS['HTTP_POST_VARS']['start']);
|
||||
$l_end = ($params['end']?$params['end']:$GLOBALS['HTTP_POST_VARS']['end']);
|
||||
$l_recur_enddate = ($params['recur_enddate']?$params['recur_enddate']:$GLOBALS['HTTP_POST_VARS']['recur_enddate']);
|
||||
$l_cal = (@isset($params['cal']) && $params['cal']?$params['cal']:$GLOBALS['HTTP_POST_VARS']['cal']);
|
||||
$l_participants = (@$params['participants']?$params['participants']:$GLOBALS['HTTP_POST_VARS']['participants']);
|
||||
$l_start = (@isset($params['start']) && $params['start']?$params['start']:$GLOBALS['HTTP_POST_VARS']['start']);
|
||||
$l_end = (@isset($params['end']) && $params['end']?$params['end']:$GLOBALS['HTTP_POST_VARS']['end']);
|
||||
$l_recur_enddate = (@isset($params['recur_enddate']) && $params['recur_enddate']?$params['recur_enddate']:$GLOBALS['HTTP_POST_VARS']['recur_enddate']);
|
||||
|
||||
$send_to_ui = True;
|
||||
if($p_cal || $p_participants || $p_start || $p_end || $p_recur_enddata)
|
||||
|
Loading…
Reference in New Issue
Block a user