Check if the user has email to avoid errors when sending the message to the user

Created on 21 February 2023, almost 2 years ago
Updated 24 February 2023, almost 2 years ago

Problem/Motivation

An error occurred if the user checked Receive email notification for the incoming private messages field and the email field is empty.

Steps to reproduce

- Install the Privatemsg module and enable it.
- Add a new user without email.
- Check the Receive email notification for incoming private messages field.
- Try to send a message to the new user.

Proposed resolution

Check if the user has email to avoid errors when sending the message to the user

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇯🇴Jordan Qusai Taha Amman

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024