Display the languages in the post

This commit is contained in:
Michael 2020-10-04 18:52:28 +00:00
commit b6b28b1541
6 changed files with 33 additions and 1 deletions

View file

@ -225,7 +225,7 @@ function settings_post(App $a)
if (isset($_FILES['importcontact-filename'])) {
// was there an error
if ($_FILES['importcontact-filename']['error'] > 0) {
Logger::notice('Contact CSV file upload error');
Logger::notice('Contact CSV file upload error', ['error' => $_FILES['importcontact-filename']['error']]);
notice(DI::l10n()->t('Contact CSV file upload error'));
} else {
$csvArray = array_map('str_getcsv', file($_FILES['importcontact-filename']['tmp_name']));