mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-02 20:19:27 +01:00
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
|
// Skipped column in definition
|
||||||
continue;
|
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
|
// Problem
|
||||||
$message[] = lang("Column mismatch: %1 should be %2, not %3",
|
$message[] = lang("Column mismatch: %1 should be %2, not %3",
|
||||||
|
Loading…
Reference in New Issue
Block a user