commit bdca664d7f4a5b3b942c7346c335ffbc51e09a5d
parent 6b8fc29a25ec04ac4828f6faeab838d8c977b7f6
Author: Felicia Hummel <felicia@partkeepr.com>
Date: Fri, 10 Feb 2017 11:09:23 +0100
styleci fixes
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/PartKeepr/ImportBundle/Configuration/FieldConfiguration.php b/src/PartKeepr/ImportBundle/Configuration/FieldConfiguration.php
@@ -88,6 +88,7 @@ class FieldConfiguration extends BaseConfiguration
case self::FIELDCONFIGURATION_COPYFROM:
if (!array_key_exists($this->copyFromField, $row)) {
$this->log(sprintf("Error: Column %s for %s does not exist", $this->copyFromField, $this->fieldName));
+
return null;
}
$this->log(sprintf("Would set field %s to value %s (import column %s)", $this->fieldName, $row[$this->copyFromField], $this->copyFromField));