diff options
Diffstat (limited to 'engine/lib')
-rw-r--r-- | engine/lib/metastrings.php | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/engine/lib/metastrings.php b/engine/lib/metastrings.php index 8f9debcc0..4218659d9 100644 --- a/engine/lib/metastrings.php +++ b/engine/lib/metastrings.php @@ -312,9 +312,14 @@ function elgg_get_metastring_based_objects($options) { } } - $singulars = array('type', 'subtype', 'guid', 'owner_guid', 'container_guid', 'site_guid', - 'metastring_name', 'metastring_value', 'metastring_id' - ); + $singulars = array( + 'type', 'subtype', 'type_subtype_pair', + 'guid', 'owner_guid', 'container_guid', 'site_guid', + 'metastring_name', 'metastring_value', + 'metastring_owner_guid', 'metastring_id', + 'select', 'where', 'join' + ); + $options = elgg_normalise_plural_options_array($options, $singulars); if (!$options) { |