From: Philipp Date: Tue, 3 Jan 2023 13:01:45 +0000 (+0100) Subject: [notifyall] Fix email selection X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=be80e77e938f2d139645bd3165926cdccf8c6926;p=friendica-addons.git [notifyall] Fix email selection FollowUp #1313 --- diff --git a/notifyall/notifyall.php b/notifyall/notifyall.php index ee05407b..727290b1 100644 --- a/notifyall/notifyall.php +++ b/notifyall/notifyall.php @@ -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.'));