mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
Fix: problem if not defined
This commit is contained in:
@@ -747,8 +747,8 @@ class Commande extends CommonObject
|
||||
if ($objsoc->fetch($socid)>0)
|
||||
{
|
||||
$object->socid = $objsoc->id;
|
||||
$object->cond_reglement_id = $objsoc->cond_reglement_id;
|
||||
$object->mode_reglement_id = $objsoc->mode_reglement_id;
|
||||
$object->cond_reglement_id = (! empty($objsoc->cond_reglement_id) ? $objsoc->cond_reglement_id : 0);
|
||||
$object->mode_reglement_id = (! empty($objsoc->mode_reglement_id) ? $objsoc->mode_reglement_id : 0);
|
||||
$object->fk_project = '';
|
||||
$object->fk_delivery_address = '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user