diff options
Diffstat (limited to 'views/default/output')
-rw-r--r-- | views/default/output/confirmlink.php | 2 | ||||
-rw-r--r-- | views/default/output/url.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/views/default/output/confirmlink.php b/views/default/output/confirmlink.php index 9377426ad..3370320ed 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'] . '"'; diff --git a/views/default/output/url.php b/views/default/output/url.php index a2e659854..7d993c49e 100644 --- a/views/default/output/url.php +++ b/views/default/output/url.php @@ -25,7 +25,7 @@ $url = trim($vars['href']); if (!empty($url)) { if (array_key_exists('is_action', $vars) && $vars['is_action']) { - $url = elgg_validate_action_url($url); + $url = elgg_add_action_tokens_to_url($url); } if (array_key_exists('target', $vars) && $vars['target']) { |