fix : missing update for extrafields on holidays (#31256)
This commit is contained in:
parent
624493fb26
commit
e71631abe0
1 changed files with 7 additions and 0 deletions
|
|
@ -987,6 +987,13 @@ class Holiday extends CommonObject
|
|||
$error++; $this->errors[] = "Error ".$this->db->lasterror();
|
||||
}
|
||||
|
||||
if (!$error) {
|
||||
$result = $this->insertExtraFields();
|
||||
if ($result < 0) {
|
||||
$error++;
|
||||
}
|
||||
}
|
||||
|
||||
if (!$error) {
|
||||
if (!$notrigger) {
|
||||
// Call trigger
|
||||
|
|
|
|||
Loading…
Reference in a new issue