diff options
Diffstat (limited to 'mod/profile/views')
-rw-r--r-- | mod/profile/views/default/admin/appearance/defaultprofile.php | 2 | ||||
-rw-r--r-- | mod/profile/views/default/profile/editdefaultprofile.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/profile/views/default/admin/appearance/defaultprofile.php b/mod/profile/views/default/admin/appearance/defaultprofile.php index 16164397e..b935797fb 100644 --- a/mod/profile/views/default/admin/appearance/defaultprofile.php +++ b/mod/profile/views/default/admin/appearance/defaultprofile.php @@ -31,7 +31,7 @@ $listing = elgg_view('profile/editdefaultprofileitems',array('items' => $items, $resetlisting = elgg_view('input/form', array ( 'body' => elgg_view('input/submit', array('value' => elgg_echo('profile:resetdefault'), 'class' => 'action_button disabled')), - 'action' => elgg_get_site_url() . 'action/profile/editdefault/reset' + 'action' => 'action/profile/editdefault/reset' ) ); diff --git a/mod/profile/views/default/profile/editdefaultprofile.php b/mod/profile/views/default/profile/editdefaultprofile.php index ece99c290..4993e1c7f 100644 --- a/mod/profile/views/default/profile/editdefaultprofile.php +++ b/mod/profile/views/default/profile/editdefaultprofile.php @@ -26,4 +26,4 @@ $formbody = <<< END END; echo "<p class='margin_top'>" . elgg_echo('profile:explainchangefields') . "</p>"; -echo elgg_view('input/form', array('body' => $formbody, 'action' => elgg_get_site_url() . 'action/profile/editdefault')); +echo elgg_view('input/form', array('body' => $formbody, 'action' => 'action/profile/editdefault')); |