mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-20 11:54:32 +01:00
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
This commit is contained in:
@@ -4445,7 +4445,11 @@ abstract class CommonObject
|
||||
}
|
||||
}
|
||||
|
||||
$this->context = array_merge($this->context, array('newstatus' => $status));
|
||||
|
||||
if ($trigkey) {
|
||||
$this->oldcopy = dol_clone($this);
|
||||
|
||||
// Call trigger
|
||||
$result = $this->call_trigger($trigkey, $user);
|
||||
if ($result < 0) {
|
||||
|
||||
Reference in New Issue
Block a user