mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-24 22:21:34 +01:00
* Calendar: copying of events now preservs quantity of resources
This commit is contained in:
parent
0c11206d91
commit
811ea4bd1a
@ -498,7 +498,7 @@ class calendar_uiforms extends calendar_ui
|
|||||||
foreach($participants as $id => &$response)
|
foreach($participants as $id => &$response)
|
||||||
{
|
{
|
||||||
if($type == 'u' && $id == $event['owner']) continue;
|
if($type == 'u' && $id == $event['owner']) continue;
|
||||||
calendar_so::split_status($status, $quantity, $role);
|
calendar_so::split_status($response, $quantity, $role);
|
||||||
// if resource defines callback for status of new status (eg. Resources app acknowledges direct booking acl), call it
|
// if resource defines callback for status of new status (eg. Resources app acknowledges direct booking acl), call it
|
||||||
$status = isset($this->bo->resources[$type]['new_status']) ? ExecMethod($this->bo->resources[$type]['new_status'],$id) : 'U';
|
$status = isset($this->bo->resources[$type]['new_status']) ? ExecMethod($this->bo->resources[$type]['new_status'],$id) : 'U';
|
||||||
$response = calendar_so::combine_status($status,$quantity,$role);
|
$response = calendar_so::combine_status($status,$quantity,$role);
|
||||||
|
Loading…
Reference in New Issue
Block a user