mirror of
https://github.com/Mibew/mibew.git
synced 2025-02-23 14:54:32 +03:00
Fix returning value in get_group_email func
This commit is contained in:
parent
003f98b18c
commit
33fb35bd34
@ -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'])) {
|
||||||
|
Loading…
Reference in New Issue
Block a user