mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
fix objfrom
This commit is contained in:
@@ -1135,7 +1135,7 @@ class Commande extends CommonOrder
|
||||
if (! $error)
|
||||
{
|
||||
// copy external contacts if same company
|
||||
if ($this->socid == $object->socid)
|
||||
if ($this->socid == $objFrom->socid)
|
||||
{
|
||||
if ($this->copy_linked_contact($objFrom, 'external') < 0)
|
||||
$error++;
|
||||
|
||||
Reference in New Issue
Block a user