From a267a9e8657564dc90bfcc142c1e80859fd91ec2 Mon Sep 17 00:00:00 2001 From: brettp Date: Mon, 15 Mar 2010 14:56:55 +0000 Subject: Replaced calls to deprecated elgg_validate_action_url() with elgg_add_action_tokens_to_url(). git-svn-id: http://code.elgg.org/elgg/trunk@5406 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/output/confirmlink.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'views/default/output/confirmlink.php') diff --git a/views/default/output/confirmlink.php b/views/default/output/confirmlink.php index 9377426ad..c4c0e0bfa 100644 --- a/views/default/output/confirmlink.php +++ b/views/default/output/confirmlink.php @@ -20,7 +20,7 @@ if (!$confirm) { } // always generate missing action tokens -$link = elgg_validate_action_url($vars['href']); +$link = elgg_add_action_tokens_to_url($vars['href']); if (isset($vars['class']) && $vars['class']) { $class = 'class="' . $vars['class'] . '"'; @@ -28,4 +28,4 @@ if (isset($vars['class']) && $vars['class']) { $class = ''; } ?> - onclick="return confirm('');"> \ No newline at end of file + onclick="return confirm('');"> -- cgit v1.2.3