duplicate projects with all settings (#1465)
This commit is contained in:
@@ -19,7 +19,7 @@ use Symfony\Component\Validator\Constraints as Assert;
|
||||
trait MetaTableTypeTrait
|
||||
{
|
||||
/**
|
||||
* @var int
|
||||
* @var int|null
|
||||
*
|
||||
* @ORM\Id
|
||||
* @ORM\GeneratedValue
|
||||
@@ -234,4 +234,11 @@ trait MetaTableTypeTrait
|
||||
{
|
||||
return $this->options;
|
||||
}
|
||||
|
||||
public function __clone()
|
||||
{
|
||||
if ($this->id) {
|
||||
$this->id = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user