aboutsummaryrefslogtreecommitdiff
path: root/views/default/output/confirmlink.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 /views/default/output/confirmlink.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 'views/default/output/confirmlink.php')
-rw-r--r--views/default/output/confirmlink.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/default/output/confirmlink.php b/views/default/output/confirmlink.php
index 9325f0eb6..aef33ab1f 100644
--- a/views/default/output/confirmlink.php
+++ b/views/default/output/confirmlink.php
@@ -12,14 +12,14 @@
* @uses $vars['text_encode'] Encode special characters?
*/
-$confirm = elgg_get_array_value('confirm', $vars, elgg_echo('question:areyousure'));
+$confirm = elgg_extract('confirm', $vars, elgg_echo('question:areyousure'));
-$encode = elgg_get_array_value('text_encode', $vars, true);
+$encode = elgg_extract('text_encode', $vars, true);
// always generate missing action tokens
$vars['href'] = elgg_add_action_tokens_to_url(elgg_normalize_url($vars['href']), true);
-$text = elgg_get_array_value('text', $vars, '');
+$text = elgg_extract('text', $vars, '');
if ($encode) {
$text = htmlspecialchars($text, ENT_QUOTES, 'UTF-8', false);
}