aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
Diffstat (limited to 'actions')
-rw-r--r--actions/email/save.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/email/save.php b/actions/email/save.php
index bf573fede..885bf2b04 100644
--- a/actions/email/save.php
+++ b/actions/email/save.php
@@ -1,6 +1,6 @@
<?php
/**
- * Action for saving a new email address for a user and triggering a confirmation.
+ * Save email address for user.
*
* @package Elgg.Core
* @subpackage Administration.Users
@@ -23,7 +23,7 @@ if (!is_email_address($email)) {
}
if ($user) {
- if (strcmp($email,$user->email)!=0) {
+ if (strcmp($email, $user->email)!=0) {
if (!get_user_by_email($email)) {
if ($user->email != $email) {