A simple modification in "uicalendar.add" function.

Before, I used array app-session.
Ralph said me to use the function app-session to get data.
This commit is contained in:
bgigon 2004-04-01 13:42:56 +00:00
parent b799d7cc49
commit e5e8eed944

View File

@ -1243,7 +1243,7 @@
$this->bo->set_class(True);
}
// Add participants
$participants = explode(";", $GLOBALS['phpgw_session']['phpgw_app_sessions']["calendar"]["participants"]['content']);
$participants = explode(";", $GLOBALS['phpgw']->session->appsession("participants") );
for($_f_part=0; $_f_part<count($participants); $_f_part++)
{
$this->bo->add_attribute('participants','A',$participants[$_f_part]);