From c5cc2821311012a8a4385a304a043c4b41f2afbb Mon Sep 17 00:00:00 2001 From: brettp Date: Mon, 31 Aug 2009 19:05:21 +0000 Subject: All line endings are now Unix-style. git-svn-id: https://code.elgg.org/elgg/trunk@3451 36083f99-b078-4883-b0ff-0f9b5a30f544 --- actions/email/save.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actions/email/save.php') diff --git a/actions/email/save.php b/actions/email/save.php index 6c166242b..2d226552a 100644 --- a/actions/email/save.php +++ b/actions/email/save.php @@ -29,7 +29,7 @@ if (!get_user_by_email($email)) { - + if ($user->email != $email) { $user->email = $email; if ($user->save()) @@ -38,7 +38,7 @@ system_message(elgg_echo('email:save:success')); } else - register_error(elgg_echo('email:save:fail')); + register_error(elgg_echo('email:save:fail')); } } else -- cgit v1.2.3