mirror of
https://github.com/processwire/processwire.git
synced 2025-08-17 20:11:46 +02:00
Fix issue processwire/processwire-issues#1638
This commit is contained in:
@@ -512,7 +512,7 @@ class Field extends WireData implements Saveable, Exportable {
|
|||||||
|
|
||||||
if($this->type) {
|
if($this->type) {
|
||||||
$typeData = $this->type->exportConfigData($this, $data);
|
$typeData = $this->type->exportConfigData($this, $data);
|
||||||
$data = array_merge($data, $typeData);
|
$data = array_merge($typeData, $data); // argument order reversed per #1638
|
||||||
}
|
}
|
||||||
|
|
||||||
// remove named flags from data since the 'flags' property already covers them
|
// remove named flags from data since the 'flags' property already covers them
|
||||||
|
Reference in New Issue
Block a user