aboutsummaryrefslogtreecommitdiff
path: root/account
diff options
context:
space:
mode:
Diffstat (limited to 'account')
-rw-r--r--account/forgotten_password.php2
-rw-r--r--account/register.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/account/forgotten_password.php b/account/forgotten_password.php
index b83776167..e28609f08 100644
--- a/account/forgotten_password.php
+++ b/account/forgotten_password.php
@@ -15,7 +15,7 @@
if (!isloggedin()) {
$body = elgg_view_title(elgg_echo('user:password:lost')) . elgg_view("account/forms/forgotten_password");
- echo page_draw(elgg_echo('user:password:lost'), elgg_view_layout("one_column", $body));
+ page_draw(elgg_echo('user:password:lost'), elgg_view_layout("one_column", $body));
} else {
forward();
}
diff --git a/account/register.php b/account/register.php
index 5e7d74a6c..e781dc8ad 100644
--- a/account/register.php
+++ b/account/register.php
@@ -21,7 +21,7 @@
// If we're not logged in, display the registration page
if (!isloggedin()) {
- echo page_draw(elgg_echo('register'), elgg_view("account/forms/register", array('friend_guid' => $friend_guid, 'invitecode' => $invitecode)));
+ page_draw(elgg_echo('register'), elgg_view("account/forms/register", array('friend_guid' => $friend_guid, 'invitecode' => $invitecode)));
// Otherwise, forward to the index page
} else {
forward();