Fix warning
This commit is contained in:
parent
88367520f1
commit
50baadbe0a
@ -1455,7 +1455,7 @@ class Propal extends CommonObject
|
|||||||
if (empty($conf->global->MAIN_KEEP_REF_CUSTOMER_ON_CLONING)) {
|
if (empty($conf->global->MAIN_KEEP_REF_CUSTOMER_ON_CLONING)) {
|
||||||
$object->ref_client = '';
|
$object->ref_client = '';
|
||||||
}
|
}
|
||||||
if ($conf->global->MAIN_DONT_KEEP_NOTE_ON_CLONING == 1) {
|
if (getDolGlobalInt('MAIN_DONT_KEEP_NOTE_ON_CLONING') == 1) {
|
||||||
$object->note_private = '';
|
$object->note_private = '';
|
||||||
$object->note_public = '';
|
$object->note_public = '';
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user