fix notice

This commit is contained in:
yuri
2017-02-14 17:06:10 +02:00
parent f50d2ef9e3
commit 191bba7afc
+2 -2
View File
@@ -416,9 +416,9 @@ class Import extends \Espo\Services\Record
}
if (in_array($action, ['createAndUpdate', 'update'])) {
$updateByFieldList = [];
$whereClause = array();
if (!empty($params['updateBy']) && is_array($params['updateBy'])) {
$updateByFieldList = [];
$whereClause = array();
foreach ($params['updateBy'] as $i) {
if (array_key_exists($i, $importFieldList)) {
$updateByFieldList[] = $importFieldList[$i];