aboutsummaryrefslogtreecommitdiff
path: root/views/default/forms
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/forms')
-rw-r--r--views/default/forms/plugins/settings/save.php4
-rw-r--r--views/default/forms/widgets/save.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/views/default/forms/plugins/settings/save.php b/views/default/forms/plugins/settings/save.php
index 8cd05471f..744133c79 100644
--- a/views/default/forms/plugins/settings/save.php
+++ b/views/default/forms/plugins/settings/save.php
@@ -8,10 +8,10 @@
$plugin = $vars['plugin'];
$plugin_id = $plugin->getID();
-$user_guid = elgg_get_array_value('user_guid', $vars, elgg_get_logged_in_user_guid());
+$user_guid = elgg_extract('user_guid', $vars, elgg_get_logged_in_user_guid());
// Do we want to show admin settings or user settings
-$type = elgg_get_array_value('type', $vars, '');
+$type = elgg_extract('type', $vars, '');
if ($type != 'user') {
$type = '';
diff --git a/views/default/forms/widgets/save.php b/views/default/forms/widgets/save.php
index c044e245f..b8d6017f5 100644
--- a/views/default/forms/widgets/save.php
+++ b/views/default/forms/widgets/save.php
@@ -7,7 +7,7 @@
*/
$widget = $vars['widget'];
-$show_access = elgg_get_array_value('show_access', $vars, true);
+$show_access = elgg_extract('show_access', $vars, true);
$edit_view = "widgets/$widget->handler/edit";
$custom_form_section = elgg_view($edit_view, array('entity' => $widget));