|
@@ -739,7 +739,7 @@ function SendMailing($clean_only = false)
|
|
$context['recipients']['members'][] = (int) $member;
|
|
$context['recipients']['members'][] = (int) $member;
|
|
}
|
|
}
|
|
|
|
|
|
- if (!empty($_POST['groups']))
|
|
+ if (isset($_POST['groups']))
|
|
{
|
|
{
|
|
if (is_array($_POST['groups']))
|
|
if (is_array($_POST['groups']))
|
|
{
|
|
{
|
|
@@ -754,7 +754,7 @@ function SendMailing($clean_only = false)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- if (!empty($_POST['exclude_groups']))
|
|
+ if (isset($_POST['exclude_groups']))
|
|
{
|
|
{
|
|
if (is_array($_POST['exclude_groups']))
|
|
if (is_array($_POST['exclude_groups']))
|
|
{
|
|
{
|