mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:18:57 +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
d158ab04bc
commit
8b86bd149f
@ -325,7 +325,8 @@ class timesheet_ui extends timesheet_bo
|
|||||||
}
|
}
|
||||||
// create a new entry
|
// create a new entry
|
||||||
$this->data['ts_start'] += 60 * $this->data['ts_duration'];
|
$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]);
|
unset($this->data[$name]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user