Check for blank values on import and omit them (#1266)

* Check for blank values on import and omit them

* Add paused status to the pirep changed
This commit is contained in:
Nabeel S
2021-07-22 15:56:03 -04:00
committed by GitHub
parent 78d3c6b577
commit 88a8ffe48a
4 changed files with 18 additions and 0 deletions

View File

@@ -170,6 +170,11 @@ class ImportExport
}
foreach ($split_values as $value) {
$value = trim($value);
if ($value === '') {
continue;
}
// This isn't in the query string format, so it's
// just a straight key-value pair set
if (strpos($value, '?') === false) {