1
0
mirror of https://github.com/Mibew/mibew.git synced 2025-02-22 22:44:32 +03:00

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
$group = group_by_id($group_id);
if (empty($group)) {
return '';
return false;
}
if ($group && !empty($group['vcemail'])) {