summaryrefslogtreecommitdiff
path: root/src/MetaboxField.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/MetaboxField.php')
-rw-r--r--src/MetaboxField.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MetaboxField.php b/src/MetaboxField.php
index 8112d9b..4ace7b1 100644
--- a/src/MetaboxField.php
+++ b/src/MetaboxField.php
@@ -107,7 +107,7 @@ class MetaboxField
public function add()
{
// merge with extra options
- $field = array_merge_recursive([
+ $field = array_replace_recursive([
'key' => $this->key,
'label' => $this->names['label'],
'name' => $this->names['name'],