Commit 89eb2889 authored by Stefan Busemann's avatar Stefan Busemann

Merge branch 'bugfix/member-export' into 'develop'

Use correct WHERE statement for exporting members

See merge request t3o/typo3.org!352
parents 141f6b69 ff4219c8
Pipeline #8675 passed with stages
in 6 minutes and 13 seconds
......@@ -82,7 +82,7 @@ function getAssociationMembers()
$db->query('SET NAMES utf8');
$where = 'email != "" AND hidden=0 AND deleted=0';
$where .= ' AND end_date > UNIX_TIMESTAMP(DATE_SUB(CURDATE(),INTERVAL 1 DAY))';
$where .= ' AND (endtime > UNIX_TIMESTAMP(DATE_SUB(CURDATE(),INTERVAL 1 DAY)) OR endtime = 0)';
$query = 'SELECT `uid`,`email`,`name`,`firstname`,`lastname`,`membership` FROM `tx_t3omembership_domain_model_member` WHERE ' . $where;
$query .= ' ORDER BY email';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment