diff --git a/src/Domain/CustomPostTypeRepository.php b/src/Domain/CustomPostTypeRepository.php index c687a08..5037bbf 100644 --- a/src/Domain/CustomPostTypeRepository.php +++ b/src/Domain/CustomPostTypeRepository.php @@ -37,7 +37,7 @@ protected static function getPosts(?array $customQuery = null): array ]; if ($customQuery) { - $query = array_merge_recursive($baseQuery, $customQuery); + $query = array_merge($baseQuery, $customQuery); } else { $query = $baseQuery; }