projects
/
ycra.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93055b6
)
Fix email CSV generation.
author
Sam White
<webmaster@ycra.org.uk>
Sun, 25 Feb 2024 14:09:08 +0000
(07:09 -0700)
committer
Sam White
<webmaster@ycra.org.uk>
Sun, 25 Feb 2024 14:09:08 +0000
(07:09 -0700)
public_html/members.php
patch
|
blob
|
history
diff --git
a/public_html/members.php
b/public_html/members.php
index e2ef47c880197cf477c77d65cbc84b2d3fbe4318..f6906999adcb4dfbad5998c69bc7dd3f03fc657a 100644
(file)
--- a/
public_html/members.php
+++ b/
public_html/members.php
@@
-70,7
+70,7
@@
function content() {
}
if (!empty($_GET['csv']) && $_GET['csv'] == 'emails' && check_logged_in()) {
- $result = run_sql('SELECT email_address FROM members GROUP BY(email_address)
ORDER BY id DESC
');
+ $result = run_sql('SELECT email_address FROM members GROUP BY(email_address)');
header('Content-Type: text/csv');
header('Content-Disposition: inline; filename="ycra-member-emails.csv"');