Merge pull request #546 from FHenry/develop
Manage Extrafields deletion for contact
This commit is contained in:
commit
9d5df5c518
@ -746,6 +746,12 @@ class Contact extends CommonObject
|
||||
}
|
||||
}
|
||||
|
||||
// Removed extrafields
|
||||
if ((! $error) && (empty($conf->global->MAIN_EXTRAFIELDS_DISABLED))) { // For avoid conflicts if trigger used
|
||||
$result=$this->deleteExtraFields($this);
|
||||
if ($result < 0) $error++;
|
||||
}
|
||||
|
||||
if (! $error && ! $notrigger)
|
||||
{
|
||||
// Appel des triggers
|
||||
|
||||
Loading…
Reference in New Issue
Block a user