mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-02 14:31:04 +00:00
Merge pull request #1344 from friendica/bug/nofifyall
[notifyall] Fix email selection
This commit is contained in:
commit
76233e7646
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ function notifyall_post(App $a)
|
|||
$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) {
|
||||
DI::sysmsg()->addNotice(DI::l10n()->t('No recipients found.'));
|
||||
|
|
Loading…
Reference in a new issue