mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
fixed bug [ 987402 ] Calendar -> New Entry remembers participants
Matrix view stored participants in appsession, which got never cleared up
This commit is contained in:
parent
f3373faa2d
commit
c5291e6fab
@ -125,6 +125,8 @@
|
|||||||
{
|
{
|
||||||
$this->bo->return_to = $_GET['menuaction'].
|
$this->bo->return_to = $_GET['menuaction'].
|
||||||
sprintf('&date=%04d%02d%02d',$this->bo->year,$this->bo->month,$this->bo->day);
|
sprintf('&date=%04d%02d%02d',$this->bo->year,$this->bo->month,$this->bo->day);
|
||||||
|
// reset the matrixview participants
|
||||||
|
$GLOBALS['phpgw']->session->appsession('participants', NULL,'');
|
||||||
}
|
}
|
||||||
$this->bo->save_sessiondata();
|
$this->bo->save_sessiondata();
|
||||||
}
|
}
|
||||||
@ -1277,7 +1279,7 @@
|
|||||||
{
|
{
|
||||||
$this->bo->set_class(True);
|
$this->bo->set_class(True);
|
||||||
}
|
}
|
||||||
// Add participants
|
// Add participants from matrixview
|
||||||
$participants = explode(";", $GLOBALS['phpgw']->session->appsession("participants") );
|
$participants = explode(";", $GLOBALS['phpgw']->session->appsession("participants") );
|
||||||
for($_f_part=0; $_f_part<count($participants); $_f_part++)
|
for($_f_part=0; $_f_part<count($participants); $_f_part++)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user