From b8ab352debd016a48562825b98013f921ecff1f1 Mon Sep 17 00:00:00 2001 From: osaajani <> Date: Wed, 1 Mar 2023 19:34:51 +0100 Subject: [PATCH] Fix bad offset on invalid csv file while importing contact --- VERSION | 2 +- controllers/internals/Contact.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index b9bf9ed..50dde2d 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v3.6.2 +v3.6.3 diff --git a/controllers/internals/Contact.php b/controllers/internals/Contact.php index ffb37a9..2d8afee 100644 --- a/controllers/internals/Contact.php +++ b/controllers/internals/Contact.php @@ -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; }