We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bccb780 + 5879be7 commit 7a3e8efCopy full SHA for 7a3e8ef
src/controllers/ExportImportController.php
@@ -70,7 +70,7 @@ public function importDataToDB($reader, $model, $columns, $key, $status, $notNul
70
// Check validation of values
71
foreach ($rows as $row) {
72
foreach ($notNullColumnNames as $notNullColumn) {
73
- if (empty($row[$notNullColumn])) {
+ if (!isset($row[$notNullColumn])) {
74
$this->failed = true;
75
break;
76
}
0 commit comments