mirror of
https://github.com/processwire/processwire.git
synced 2025-08-12 17:54:44 +02:00
Fix issue processwire/processwire-issues#1811
This commit is contained in:
@@ -658,6 +658,7 @@ class Fields extends WireSaveableItems {
|
||||
$field2->flags = 0; // intentional overwrite after above line
|
||||
}
|
||||
$field2->name = $field2->name . "_PWTMP";
|
||||
$field2->prevFieldtype = $field1->type;
|
||||
$field2->type->createField($field2);
|
||||
$field1->type = $field1->prevFieldtype;
|
||||
|
||||
|
Reference in New Issue
Block a user