aboutsummaryrefslogtreecommitdiff
path: root/mod/file/views/default/forms/file/upload.php
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-15 01:05:45 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-15 01:05:45 +0000
commit9ce11d138f9868b872fe8206dbc3c2f44723605a (patch)
tree273a2aed762c62eea3ac329649b42326a2d91438 /mod/file/views/default/forms/file/upload.php
parent76e70b79acc60358a7225c0976fd6b7f2fe3c74f (diff)
downloadelgg-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/file/views/default/forms/file/upload.php')
-rw-r--r--mod/file/views/default/forms/file/upload.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/mod/file/views/default/forms/file/upload.php b/mod/file/views/default/forms/file/upload.php
index 06b97388b..a96cbaef6 100644
--- a/mod/file/views/default/forms/file/upload.php
+++ b/mod/file/views/default/forms/file/upload.php
@@ -6,13 +6,13 @@
*/
// once elgg_view stops throwing all sorts of junk into $vars, we can use
-$title = elgg_get_array_value('title', $vars, '');
-$desc = elgg_get_array_value('description', $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);
-$ajax = elgg_get_array_value('ajax', $vars, FALSE);
+$title = elgg_extract('title', $vars, '');
+$desc = elgg_extract('description', $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);
+$ajax = elgg_extract('ajax', $vars, FALSE);
if ($guid) {
$file_label = elgg_echo("file:replace");