Fix bad offset on invalid csv file while importing contact
This commit is contained in:
parent
572a243a7b
commit
b8ab352deb
|
@ -160,7 +160,7 @@ namespace controllers\internals;
|
|||
continue;
|
||||
}
|
||||
|
||||
if (!isset($line[array_keys($line)[0]], $line[array_keys($line)[1]]))
|
||||
if (!isset(array_keys($line)[0], array_keys($line)[1]))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue