aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/metastrings.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/metastrings.php')
-rw-r--r--engine/lib/metastrings.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/metastrings.php b/engine/lib/metastrings.php
index 8c702239b..8f9debcc0 100644
--- a/engine/lib/metastrings.php
+++ b/engine/lib/metastrings.php
@@ -580,8 +580,8 @@ function elgg_normalize_metastrings_options(array $options = array()) {
// support either metastrings_type or metastring_type
// because I've made this mistake many times and hunting it down is a pain...
- $type = elgg_get_array_value('metastring_type', $options, null);
- $type = elgg_get_array_value('metastrings_type', $options, $type);
+ $type = elgg_extract('metastring_type', $options, null);
+ $type = elgg_extract('metastrings_type', $options, $type);
$options['metastring_type'] = $type;