Fix warning

This commit is contained in:
Laurent Destailleur 2023-02-21 13:27:21 +01:00
parent 88367520f1
commit 50baadbe0a

View File

@ -1455,7 +1455,7 @@ class Propal extends CommonObject
if (empty($conf->global->MAIN_KEEP_REF_CUSTOMER_ON_CLONING)) {
$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_public = '';
}