fix : missing update for extrafields on holidays (#31256)

This commit is contained in:
thomas-Ngr 2024-10-03 19:33:33 +02:00 committed by GitHub
parent 624493fb26
commit e71631abe0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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