fixed wrong get_var(...,'HTTP_GET_VARS'||'GET'),...), has to be get_var(...,array('GET'),...)

This commit is contained in:
Ralf Becker 2004-03-13 18:35:16 +00:00
parent 6c5c54d4b6
commit 27542e26a5

View File

@ -1202,7 +1202,7 @@
$this->bo->add_attribute('id',0); $this->bo->add_attribute('id',0);
$can_edit = True; $can_edit = True;
$participants = (string)(get_var('participants',array('HTTP_GET_VARS'||'GET'),FALSE)); $participants = (string)(get_var('participants',array('GET'),FALSE));
$starthour = (int)(get_var('hour',array('GET'),$this->bo->prefs['calendar']['workdaystarts'])); $starthour = (int)(get_var('hour',array('GET'),$this->bo->prefs['calendar']['workdaystarts']));
$startmin = (int)(get_var('minute',array('GET'),0)); $startmin = (int)(get_var('minute',array('GET'),0));
$endmin = $startmin + (int)$this->bo->prefs['calendar']['defaultlength']; $endmin = $startmin + (int)$this->bo->prefs['calendar']['defaultlength'];