We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c069df commit c52f0a6Copy full SHA for c52f0a6
1 file changed
Model/Importer.php
@@ -111,9 +111,12 @@ public function setImportAdapterFactory($importAdapterFactory)
111
112
public function processImport($dataArray)
113
{
114
- if ($this->_validateData($dataArray)) {
+ $validation = $this->_validateData($dataArray);
115
+ if ($validation) {
116
$this->_importData();
117
}
118
+
119
+ return $validation;
120
121
122
protected function _validateData($dataArray)
@@ -226,4 +229,4 @@ public function getErrorMessages()
226
229
return $this->errorMessages;
227
230
228
231
-}
232
+}
0 commit comments