Fix, Oops, test was inverted

This commit is contained in:
Laurent Destailleur
2019-03-18 20:16:19 +01:00
parent aa013ff753
commit 41c737a213
2 changed files with 2 additions and 2 deletions

View File

@@ -1213,7 +1213,7 @@ class Commande extends CommonOrder
$this->contact_id = $object->contactid;
$this->ref_client = $object->ref_client;
if (! empty($conf->global->MAIN_DISABLE_PROPAGATE_NOTES_FROM_ORIGIN))
if (empty($conf->global->MAIN_DISABLE_PROPAGATE_NOTES_FROM_ORIGIN))
{
$this->note_private = $object->note_private;
$this->note_public = $object->note_public;