mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix: use addline function
This commit is contained in:
parent
9edb72f2f5
commit
3063abfdfe
|
|
@ -513,15 +513,9 @@ class Facture extends CommonObject
|
|||
unset($object->products[$i]); // Tant que products encore utilise
|
||||
}
|
||||
}
|
||||
|
||||
// FIXME objFrom change de valeur apres le create() !!
|
||||
//var_dump($objFrom->lines[0]);
|
||||
|
||||
// Create clone
|
||||
$result=$object->create($user);
|
||||
|
||||
//print '!!!!! after !!!!!<br>';
|
||||
//var_dump($objFrom->lines[0]);
|
||||
|
||||
// Other options
|
||||
if ($result < 0)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user