Skip to content

Commit

Permalink
Merge pull request #139 from dparker1005/fix-export-csv-sql
Browse files Browse the repository at this point in the history
Fixing CSV export sql syntax
  • Loading branch information
kimcoleman authored Sep 24, 2024
2 parents c3af3e6 + 8198e27 commit 38315b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/export-csv.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@

//get users
$sqlQuery = "
SELECT DISTINCT u.ID,
SELECT DISTINCT u.ID
FROM {$wpdb->users} u
LEFT JOIN {$wpdb->pmpro_memberships_users} mu ON u.ID = mu.user_id
LEFT JOIN {$wpdb->pmpro_membership_levels} m ON mu.membership_id = m.id
Expand Down

0 comments on commit 38315b9

Please sign in to comment.