Clear id when cloning

main
Jordi Boggiano 12 years ago
parent e1e7141ae9
commit 85671021c3

@ -178,5 +178,6 @@ abstract class BasePackage implements PackageInterface
public function __clone() public function __clone()
{ {
$this->repository = null; $this->repository = null;
$this->id = -1;
} }
} }

Loading…
Cancel
Save