Fix undefined variable in contact import n mod/settings

This commit is contained in:
Hypolite Petovan 2020-02-05 22:22:08 -05:00
parent 1a3807d598
commit 7f402da40f

View File

@ -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']);
}
}
}