mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Still check original file columns
This commit is contained in:
parent
d7316f76ad
commit
a0a3cfb4fc
@ -294,7 +294,7 @@
|
||||
$data = translation::convert($data,$options['charset']);
|
||||
|
||||
$ok = true;
|
||||
if(count($data) != count($options['field_mapping']))
|
||||
if(count($data) != count($options['field_mapping']) && max(array_keys($data)) != max(array_keys($options['csv_fields'])))
|
||||
{
|
||||
$message[] = lang("Column mismatch. Expected %1 columns, your file has %2.",
|
||||
count($options['field_mapping']),
|
||||
|
Loading…
Reference in New Issue
Block a user