forked from friendica/friendica-addons
parent
14dfd24d11
commit
be80e77e93
|
@ -50,7 +50,7 @@ function notifyall_post(App $a)
|
||||||
$condition['email'] = array_column($adminEmails, 'email');
|
$condition['email'] = array_column($adminEmails, 'email');
|
||||||
}
|
}
|
||||||
|
|
||||||
$recipients = DBA::p("SELECT DISTINCT `email` FROM `user`" . DBA::buildCondition($condition));
|
$recipients = DBA::p("SELECT DISTINCT `email` FROM `user`" . DBA::buildCondition($condition), $condition);
|
||||||
|
|
||||||
if (! $recipients) {
|
if (! $recipients) {
|
||||||
DI::sysmsg()->addNotice(DI::l10n()->t('No recipients found.'));
|
DI::sysmsg()->addNotice(DI::l10n()->t('No recipients found.'));
|
||||||
|
|
Loading…
Reference in a new issue