aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/views
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile/views')
-rw-r--r--mod/profile/views/default/profile/editdefaultprofileitems.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/profile/views/default/profile/editdefaultprofileitems.php b/mod/profile/views/default/profile/editdefaultprofileitems.php
index 17d1f4f8f..8a99b08dc 100644
--- a/mod/profile/views/default/profile/editdefaultprofileitems.php
+++ b/mod/profile/views/default/profile/editdefaultprofileitems.php
@@ -26,9 +26,9 @@ $(document).ready(function() {
$save = elgg_echo('save');
$cancel = elgg_echo('cancel');
+ $url = elgg_add_action_tokens_to_url("{$vars['url']}action/profile/editdefault/editfield", FALSE);
foreach($vars['items'] as $item) {
- $url = elgg_add_action_tokens_to_url("{$vars['url']}action/profile/editdefault/editfield");
echo <<< END
<script language="javascript" type="text/javascript">