summaryrefslogtreecommitdiff
path: root/src/Metabox.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Metabox.php')
-rw-r--r--src/Metabox.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Metabox.php b/src/Metabox.php
index 4da3c4c..64f9bfb 100644
--- a/src/Metabox.php
+++ b/src/Metabox.php
@@ -150,7 +150,7 @@ class Metabox
}, $this->locations);
// merge with extra options
- $fieldGroup = array_merge_recursive([
+ $fieldGroup = array_replace_recursive([
'key' => $this->key,
'title' => $this->title,
'location' => $ruleGroups,