Index: signup_status.module
===================================================================
@@ -1098,1 +1114,2 @@
  if ($type == 'csv') {
    if (!function_exists('fputcsv')) {
      drupal_set_message(t('PHP 5.1 or greater required for CSV generation.'), 'error');
      return '';
    }
    $rows = signup_status_prepare_roster_csv($node);
    print_r($rows);
    header('Content-Type: text/csv');
    header('Content-Disposition: attachment; filename="signups-'. $node->nid .'-'. date('Ymd') .'.csv"');
    $output = fopen('php://output', 'w');
+	$rows = (is_array($rows) ? $rows : array());
    foreach ($rows as $row) {
      fputcsv($output, $row);
    }
    fclose($output);
  }
}