Fixing style errors.
This commit is contained in:
parent
b4fbb86548
commit
ababad540a
@ -441,14 +441,14 @@ class CommandeFournisseurDispatch extends CommonObject
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Remove extrafields
|
// Remove extrafields
|
||||||
if (!$error) {
|
if (!$error) {
|
||||||
$result = $this->deleteExtraFields();
|
$result = $this->deleteExtraFields();
|
||||||
if ($result < 0)
|
if ($result < 0)
|
||||||
{
|
{
|
||||||
$error++;
|
$error++;
|
||||||
dol_syslog(get_class($this)."::delete error deleteExtraFields ".$this->error, LOG_ERR);
|
dol_syslog(get_class($this)."::delete error deleteExtraFields ".$this->error, LOG_ERR);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (! $error)
|
if (! $error)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -766,10 +766,10 @@ class Reception extends CommonObject
|
|||||||
$line->array_options = $supplierorderline->array_options;
|
$line->array_options = $supplierorderline->array_options;
|
||||||
if (empty($conf->global->MAIN_EXTRAFIELDS_DISABLED) && is_array($array_options) && count($array_options) > 0) // For avoid conflicts if trigger used
|
if (empty($conf->global->MAIN_EXTRAFIELDS_DISABLED) && is_array($array_options) && count($array_options) > 0) // For avoid conflicts if trigger used
|
||||||
{
|
{
|
||||||
foreach ($array_options as $key => $value) {
|
foreach ($array_options as $key => $value) {
|
||||||
$line->array_options[$key] = $value;
|
$line->array_options[$key] = $value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$line->fk_product = $fk_product;
|
$line->fk_product = $fk_product;
|
||||||
$line->fk_commande = $supplierorderline->fk_commande;
|
$line->fk_commande = $supplierorderline->fk_commande;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user