Fix returning value in get_group_email func

This commit is contained in:
Fedor A. Fetisov 2021-04-09 15:03:34 +03:00
parent 003f98b18c
commit 33fb35bd34

View File

@ -202,8 +202,9 @@ function get_group_email($group_id)
{ {
// Try to get group email // Try to get group email
$group = group_by_id($group_id); $group = group_by_id($group_id);
if (empty($group)) { if (empty($group)) {
return ''; return false;
} }
if ($group && !empty($group['vcemail'])) { if ($group && !empty($group['vcemail'])) {