Skip to content

Commit 6e8d52b

Browse files
committed
reinstate csv column array building even on empty values
1 parent 053a559 commit 6e8d52b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

projects/packages/forms/src/contact-form/class-contact-form-plugin.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3428,6 +3428,8 @@ public function export_to_gdrive() {
34283428
foreach ( $fields as $single_field_name ) {
34293429
if ( isset( $export_data[ $single_field_name ][ $i ] ) ) {
34303430
$current_row[] = $export_data[ $single_field_name ][ $i ];
3431+
} else {
3432+
$current_row[] = '';
34313433
}
34323434
}
34333435

0 commit comments

Comments
 (0)