https://reisub.nsupdate.info/git
/
friendica-addons.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14dfd24
)
[notifyall] Fix email selection
author
Philipp
<admin@philipp.info>
Tue, 3 Jan 2023 13:01:45 +0000
(14:01 +0100)
committer
GitHub
<noreply@github.com>
Tue, 3 Jan 2023 13:01:45 +0000
(14:01 +0100)
FollowUp #1313
notifyall/notifyall.php
patch
|
blob
|
history
diff --git
a/notifyall/notifyall.php
b/notifyall/notifyall.php
index
ee05407
..
727290b
100644
(file)
--- 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.'));