mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
fix : missing update for extrafields on holidays (#31256)
This commit is contained in:
parent
624493fb26
commit
e71631abe0
|
|
@ -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 New Issue
Block a user