From 7f402da40fd0eb3b8077ee79ed4aa3991cd5d918 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Wed, 5 Feb 2020 22:22:08 -0500 Subject: [PATCH] Fix undefined variable in contact import n mod/settings --- mod/settings.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mod/settings.php b/mod/settings.php index b9bdf66ec0..30d406d59a 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -406,9 +406,10 @@ function settings_post(App $a) Worker::add(PRIORITY_LOW, 'AddContact', $_SESSION['uid'], $csvRow[0]); } } + info(DI::l10n()->t('Importing Contacts done')); // delete temp file - unlink($filename); + unlink($_FILES['importcontact-filename']['tmp_name']); } } } -- 2.39.5