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

Created on 21 February 2023, over 1 year ago
Updated 24 February 2023, over 1 year 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.69.0 2024