mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-20 16:37:48 +02:00
Fix bad offset on invalid csv file while importing contact
This commit is contained in:
parent
572a243a7b
commit
b8ab352deb
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue