forked from extern/egroupware
Also accept the translated version of the column name when checking an imported file
This commit is contained in:
parent
47c07a45d5
commit
885a5fdfc7
@ -356,7 +356,7 @@
|
||||
// Skipped column in definition
|
||||
continue;
|
||||
}
|
||||
elseif($index < count($options['csv_fields']) && strtoupper($options['csv_fields'][$index]) != strtoupper($header))
|
||||
elseif($index < count($options['csv_fields']) && strtoupper($options['csv_fields'][$index]) != strtoupper($header) && strtoupper(lang($options['csv_fields'][$index])) != strtoupper($header))
|
||||
{
|
||||
// Problem
|
||||
$message[] = lang("Column mismatch: %1 should be %2, not %3",
|
||||
|
Loading…
Reference in New Issue
Block a user