Skip to content

Commit

Permalink
Fix: use clone instead dol_clone
Browse files Browse the repository at this point in the history
  • Loading branch information
hregis committed Mar 17, 2016
1 parent ae16d6c commit a2bb57e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/user/card.php
Expand Up @@ -481,7 +481,7 @@
{
$object->fetch($id);

$object->oldcopy = dol_clone($object);
$object->oldcopy = clone $object;

$ret = $object->setPassword($user, $_POST["password"]);
if ($ret < 0)
Expand Down

0 comments on commit a2bb57e

Please sign in to comment.