aboutsummaryrefslogtreecommitdiff
path: root/account
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-26 09:41:37 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-26 09:41:37 +0000
commitd373ceafa4b799005d54b8a63a1677e31ddf9c23 (patch)
tree255ecdb313276c1d0613fcd2f291e24cbbd275ef /account
parent2ca07ee6e60d7b193950144ad44fa40411825f9a (diff)
downloadelgg-d373ceafa4b799005d54b8a63a1677e31ddf9c23.tar.gz
elgg-d373ceafa4b799005d54b8a63a1677e31ddf9c23.tar.bz2
Closes #807: Removed echo on page_draw()
git-svn-id: https://code.elgg.org/elgg/trunk@2955 36083f99-b078-4883-b0ff-0f9b5a30f544
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();