Updating date in existing time spent entry does not change date if done via UI in v22. In v23+ changing date alone via UI works, but when also changing task at same time, date will not get changed without this fix. See description in #37677
This commit is contained in:
parent
4d9c16e7e0
commit
39ccb1e951
1 changed files with 1 additions and 1 deletions
|
|
@ -2079,7 +2079,7 @@ class Task extends CommonObjectLine
|
|||
}
|
||||
|
||||
// Clean parameters
|
||||
if (empty($this->timespent_datehour)) {
|
||||
if (empty($this->timespent_datehour) || ($this->timespent_date != $this->timespent_datehour)) {
|
||||
$this->timespent_datehour = $this->timespent_date;
|
||||
}
|
||||
if (isset($this->timespent_note)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue