diff options
Diffstat (limited to 'views/default/likes/forms/edit.php')
-rw-r--r-- | views/default/likes/forms/edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/likes/forms/edit.php b/views/default/likes/forms/edit.php index 508b2ad82..d438ff3be 100644 --- a/views/default/likes/forms/edit.php +++ b/views/default/likes/forms/edit.php @@ -9,7 +9,7 @@ if (isset($vars['entity']) && isloggedin()) { $guid = $vars['entity']->getGuid(); - $url = elgg_add_action_tokens_to_url($vars['url'] . "action/likes/add?guid={$guid}"); + $url = elgg_add_action_tokens_to_url(elgg_get_site_url() . "action/likes/add?guid={$guid}"); echo "<span class='likes_list_holder'>"; //check to see if the user has already liked |