mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:29 +01:00
Timesheet: Do not include events in new timesheet when save & new button is clicked on a timesheet with events
This commit is contained in:
parent
a57e02c77f
commit
d21eb1c1e6
@ -325,7 +325,8 @@ class timesheet_ui extends timesheet_bo
|
||||
}
|
||||
// create a new entry
|
||||
$this->data['ts_start'] += 60 * $this->data['ts_duration'];
|
||||
foreach(array('ts_id','ts_title','ts_description','ts_duration','ts_quantity','ts_modified','ts_modifier','link_to') as $name)
|
||||
foreach(array('ts_id', 'ts_title', 'ts_description', 'ts_duration', 'ts_quantity',
|
||||
'ts_modified', 'ts_modifier', 'link_to', 'events') as $name)
|
||||
{
|
||||
unset($this->data[$name]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user