Fix csv export notice messages on missing emails
Change-Id: I748e903e07ba8eb242aae41af72d1bdf6f5fe810
This commit is contained in:
parent
44c5a33ef8
commit
d0534fd4cb
@ -593,6 +593,9 @@ function groups_reports_groups_status_report_form($form = array(), &$form_state)
|
||||
* Display a row of contact data as a csv line.
|
||||
*/
|
||||
function _groups_report_contact_csv_row($row, $organizer, $source, &$seen) {
|
||||
if (!isset($organizer['email'])) {
|
||||
return;
|
||||
}
|
||||
if (in_array($organizer['email'], $seen) == false) {
|
||||
printf("'%s','%s','%s','%s'\n", $row->title, $organizer['name'], $organizer['email'], $source);
|
||||
$seen[] = $organizer['email'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user