forked from extern/egroupware
fixed bug [ 996591 ] Error when creating an entry in the calendar
this happended only when email was not installed
This commit is contained in:
parent
2d428a66c7
commit
f7a6e46de1
@ -2546,7 +2546,11 @@
|
||||
{
|
||||
$user = $this->owner;
|
||||
}
|
||||
$GLOBALS['phpgw_info']['user']['preferences'] = $GLOBALS['phpgw']->preferences->create_email_preferences($user);
|
||||
if ($GLOBALS['phpgw']->preferences->account_id != $user)
|
||||
{
|
||||
$GLOBALS['phpgw']->preferences->preferences($user);
|
||||
$GLOBALS['phpgw_info']['user']['preferences'] = $GLOBALS['phpgw']->preferences->read_repository();
|
||||
}
|
||||
|
||||
$event = $msg_type == MSG_ADDED || $msg_type == MSG_MODIFIED ? $new_event : $old_event;
|
||||
if($old_event != False)
|
||||
|
Loading…
Reference in New Issue
Block a user