Skip to content

Commit

Permalink
Mail: Fix issue not sending mail to users when mail_notify_message ex…
Browse files Browse the repository at this point in the history
…tra field is somehow returned as 'AtOnce' instead of 1 - refs BT#20235 CB#473067
  • Loading branch information
ywarnier committed Oct 12, 2022
1 parent bb99787 commit 78acb34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/inc/lib/notification.lib.php
Expand Up @@ -293,7 +293,7 @@ public function saveNotification(
$userSetting = $defaultStatus;

if (!empty($settingInfo)) {
$extra_data = UserManager::get_extra_user_data($user_id);
$extra_data = UserManager::get_extra_user_data_by_field($user_id, $settingToCheck);

if (isset($extra_data[$settingToCheck])) {
$userSetting = $extra_data[$settingToCheck];
Expand Down

0 comments on commit 78acb34

Please sign in to comment.