mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
Ignore case when searching for lookup matches
This commit is contained in:
parent
8ceccb552c
commit
844298f779
@ -284,7 +284,7 @@ class importexport_import_csv implements importexport_iface_import_record { //,
|
||||
if($fields) {
|
||||
foreach((array)$fields['select'] as $name) {
|
||||
if($record[$name] != null && is_array($selects) && $selects[$name]) {
|
||||
$key = array_search($record[$name], $selects[$name]);
|
||||
$key = array_search(strtolower($record[$name]), array_map('strtolower',$selects[$name]));
|
||||
if($key !== false) $record[$name] = $key;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user