2
0
forked from Wavyzz/dolibarr

[Qual] Replaced deprecated dol_clone by native clone

This commit is contained in:
Raphaël Doursenaud
2015-09-24 16:32:48 +02:00
parent ea7384cf68
commit 9f2545b95d
33 changed files with 48 additions and 47 deletions

View File

@@ -958,7 +958,7 @@ class Commande extends CommonOrder
$line->fetch_optionals($line->rowid);
// Load source object
$objFrom = dol_clone($this);
$objFrom = clone $this;
// Change socid if needed
if (! empty($socid) && $socid != $this->socid)