Index: branches/5.3.x/core/units/users/users_item.php =================================================================== diff -u -N -r15928 -r15938 --- branches/5.3.x/core/units/users/users_item.php (.../users_item.php) (revision 15928) +++ branches/5.3.x/core/units/users/users_item.php (.../users_item.php) (revision 15938) @@ -1,6 +1,6 @@ getEmailParams(); + switch ( $this->GetDBField('Status') ) { case STATUS_ACTIVE: $event_name = $this->Application->ConfigValue('User_Password_Auto') ? 'USER.VALIDATE' : 'USER.ADD'; - $this->Application->emailAdmin($event_name); - $this->Application->emailUser($event_name, $this->GetID()); + $this->Application->emailUser($event_name, $this->GetID(), $send_params); + $this->Application->emailAdmin($event_name, null, $send_params); break; case STATUS_PENDING: - $this->Application->emailAdmin('USER.ADD.PENDING'); - $this->Application->emailUser('USER.ADD.PENDING', $this->GetID()); + $this->Application->emailUser('USER.ADD.PENDING', $this->GetID(), $send_params); + $this->Application->emailAdmin('USER.ADD.PENDING', null, $send_params); break; } }