Merge branch 'feature/576' of https://github.com/tainacan/tainacan into feature/576

This commit is contained in:
mateuswetah 2021-11-10 15:37:54 -03:00
commit fc6d16f92e
1 changed files with 1 additions and 0 deletions

View File

@ -457,6 +457,7 @@ class REST_Items_Controller extends REST_Controller {
}
foreach($meta_query as $meta) {
$filter_type_component = false;
if( !isset($meta['key']) || !isset($meta['value']) )
continue;