If unable to link, give a warning instead of an error

This commit is contained in:
Nathan Gray 2011-12-15 16:57:15 +00:00
parent 8c4e8dee2f
commit 0185866263

View File

@ -534,7 +534,7 @@ class infolog_import_infologs_csv implements importexport_iface_import_plugin {
// Only one allowed
if(count($result) != 1)
{
$this->errors[$record_num] .= lang('Unable to link to %3 by custom field "%1". %2 matches.',
$this->warnings[$record_num] .= lang('Unable to link to %3 by custom field "%1". %2 matches.',
$custom_field, count($result), lang($app));
return false;
}