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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user