diff options
Diffstat (limited to 'engine/lib/metadata.php')
-rw-r--r-- | engine/lib/metadata.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/metadata.php b/engine/lib/metadata.php index 83336cd94..eb5096f3e 100644 --- a/engine/lib/metadata.php +++ b/engine/lib/metadata.php @@ -309,7 +309,7 @@ $meta_value = get_metastring_id($meta_value); $entity_type = sanitise_string($entity_type); - $entity_subtype = get_subtype_id($entity_subtype); + $entity_subtype = get_subtype_id($entity_type, $entity_subtype); $limit = (int)$limit; $offset = (int)$offset; $order_by = sanitise_string($order_by); |