diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-15 01:05:45 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-15 01:05:45 +0000 |
commit | 9ce11d138f9868b872fe8206dbc3c2f44723605a (patch) | |
tree | 273a2aed762c62eea3ac329649b42326a2d91438 /mod/groups | |
parent | 76e70b79acc60358a7225c0976fd6b7f2fe3c74f (diff) | |
download | elgg-9ce11d138f9868b872fe8206dbc3c2f44723605a.tar.gz elgg-9ce11d138f9868b872fe8206dbc3c2f44723605a.tar.bz2 |
Fixes #2808: elgg_get_array_value => elgg_extract
git-svn-id: http://code.elgg.org/elgg/trunk@8247 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups')
-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; |