diff options
Diffstat (limited to 'mod/groups/views/default')
-rw-r--r-- | mod/groups/views/default/forms/discussion/save.php | 14 | ||||
-rw-r--r-- | mod/groups/views/default/groups/edit.php | 2 | ||||
-rw-r--r-- | mod/groups/views/default/groups/group_sort_menu.php | 2 | ||||
-rw-r--r-- | mod/groups/views/default/object/groupforumtopic.php | 4 |
4 files changed, 11 insertions, 11 deletions
diff --git a/mod/groups/views/default/forms/discussion/save.php b/mod/groups/views/default/forms/discussion/save.php index 751cd521d..af8d730d5 100644 --- a/mod/groups/views/default/forms/discussion/save.php +++ b/mod/groups/views/default/forms/discussion/save.php @@ -4,13 +4,13 @@ * */ -$title = elgg_get_array_value('title', $vars, ''); -$desc = elgg_get_array_value('description', $vars, ''); -$status = elgg_get_array_value('status', $vars, ''); -$tags = elgg_get_array_value('tags', $vars, ''); -$access_id = elgg_get_array_value('access_id', $vars, ACCESS_DEFAULT); -$container_guid = elgg_get_array_value('container_guid', $vars); -$guid = elgg_get_array_value('guid', $vars, null); +$title = elgg_extract('title', $vars, ''); +$desc = elgg_extract('description', $vars, ''); +$status = elgg_extract('status', $vars, ''); +$tags = elgg_extract('tags', $vars, ''); +$access_id = elgg_extract('access_id', $vars, ACCESS_DEFAULT); +$container_guid = elgg_extract('container_guid', $vars); +$guid = elgg_extract('guid', $vars, null); ?> <div> diff --git a/mod/groups/views/default/groups/edit.php b/mod/groups/views/default/groups/edit.php index 0634f3ac5..87fbaa182 100644 --- a/mod/groups/views/default/groups/edit.php +++ b/mod/groups/views/default/groups/edit.php @@ -3,7 +3,7 @@ * Edit/create a group */ -$entity = elgg_get_array_value('entity', $vars, null); +$entity = elgg_extract('entity', $vars, null); $form_vars = array('enctype' => 'multipart/form-data'); $body_vars = array('entity' => $entity); diff --git a/mod/groups/views/default/groups/group_sort_menu.php b/mod/groups/views/default/groups/group_sort_menu.php index 7018b614f..78a9e72cd 100644 --- a/mod/groups/views/default/groups/group_sort_menu.php +++ b/mod/groups/views/default/groups/group_sort_menu.php @@ -5,7 +5,7 @@ $group_count = (int)elgg_get_entities(array('types' => 'group', 'count' => true)); -$selected = elgg_get_array_value('selected', $vars); +$selected = elgg_extract('selected', $vars); //url $url = elgg_get_site_url() . "pg/groups/all/"; diff --git a/mod/groups/views/default/object/groupforumtopic.php b/mod/groups/views/default/object/groupforumtopic.php index 6d4902c87..6ac6d5eda 100644 --- a/mod/groups/views/default/object/groupforumtopic.php +++ b/mod/groups/views/default/object/groupforumtopic.php @@ -5,8 +5,8 @@ * @package ElggGroups */ -$full = elgg_get_array_value('full', $vars, FALSE); -$topic = elgg_get_array_value('entity', $vars, FALSE); +$full = elgg_extract('full', $vars, FALSE); +$topic = elgg_extract('entity', $vars, FALSE); if (!$topic) { return true; |