forked from extern/egroupware
Make warning about missing type into error
This commit is contained in:
parent
72214630b1
commit
3ad4a94fa9
@ -179,7 +179,7 @@ class infolog_import_infologs_csv implements importexport_iface_import_plugin {
|
||||
// Make sure type is valid
|
||||
if(!$record['info_type'] || $record['info_type'] && !$this->boinfolog->enums['type'][$record['info_type']])
|
||||
{
|
||||
$this->warnings[$import_csv->get_current_position()] .= ($this->warnings[$import_csv->get_current_position()] ? "\n":'').
|
||||
$this->errors[$import_csv->get_current_position()] .= ($this->errors[$import_csv->get_current_position()] ? "\n":'').
|
||||
lang('Unknown type: %1', $record['info_type']);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user