Return blank string values for string entries that return back null

This commit is contained in:
Akkadius committed 2020-04-04 04:48:46 -05:00
1 parent 15c9b64120
commit fe7e850a04
97 files changed
+788 -790

No files matched your search

@@ -274,8 +274,8 @@ foreach my $table_to_generate (@tables) {
$find_one_entries .= sprintf("\t\t\tentry.%-${longest_column_length}s = atof(row[%s]);\n", $column_name, $index);
}
else {
$all_entries .= sprintf("\t\t\tentry.%-${longest_column_length}s = row[%s];\n", $column_name, $index);
$find_one_entries .= sprintf("\t\t\tentry.%-${longest_column_length}s = row[%s];\n", $column_name, $index);
$all_entries .= sprintf("\t\t\tentry.%-${longest_column_length}s = row[%s] ? row[%s] : \"\";\n", $column_name, $index, $index);
$find_one_entries .= sprintf("\t\t\tentry.%-${longest_column_length}s = row[%s] ? row[%s] : \"\";\n", $column_name, $index, $index);
}
# print $column_name . "\n";