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

@@ -189,7 +189,7 @@ class ContactTest extends PHPUnit_Framework_TestCase
$langs=$this->savlangs;
$db=$this->savdb;
$localobject->oldcopy=dol_clone($localobject);
$localobject->oldcopy = clone $localobject;
$localobject->note_private='New private note after update';
$localobject->note_public='New public note after update';