Skip to content

Commit

Permalink
Merge branch '7.0' of github.com:Dolibarr/dolibarr into 7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
atm-greg committed Mar 16, 2020
2 parents d2c629f + 4bdf10c commit 59dc77f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion htdocs/fourn/class/fournisseur.commande.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1228,7 +1228,7 @@ public function create($user, $notrigger=0)
false,
$this->lines[$i]->date_start,
$this->lines[$i]->date_end,
0,
$this->lines[$i]->array_options,
$this->lines[$i]->fk_unit
);
if ($result < 0)
Expand Down Expand Up @@ -1338,6 +1338,10 @@ public function createFromClone()

$this->db->begin();

// get extrafields so they will be clone
foreach($this->lines as $line)
$line->fetch_optionals($line->rowid);

// Load source object
$objFrom = clone $this;

Expand Down

0 comments on commit 59dc77f

Please sign in to comment.