Skip to content

Commit

Permalink
Merge 7c3dc9a into develop-prs
Browse files Browse the repository at this point in the history
  • Loading branch information
Magento CICD authored Mar 25, 2017
2 parents b73e962 + 7c3dc9a commit 45673de
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
10 changes: 5 additions & 5 deletions app/code/Magento/CustomerImportExport/Model/Import/Customer.php
Original file line number Diff line number Diff line change
Expand Up @@ -569,11 +569,11 @@ public function getEntityTable()
*/
public function getValidColumnNames()
{
$this->validColumnNames = array_merge(
$this->validColumnNames,
$this->customerFields
return array_unique(
array_merge(
$this->validColumnNames,
$this->customerFields
)
);

return $this->validColumnNames;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -488,13 +488,13 @@ protected function _prepareRowForDb(array $rowData)
*/
public function getValidColumnNames()
{
$this->validColumnNames = array_merge(
$this->validColumnNames,
$this->_customerAttributes,
$this->_addressAttributes,
$this->_customerEntity->getValidColumnNames()
return array_unique(
array_merge(
$this->validColumnNames,
$this->_customerAttributes,
$this->_addressAttributes,
$this->_customerEntity->getValidColumnNames()
)
);

return $this->validColumnNames;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
*/
namespace Magento\Framework\Model\ResourceModel\Type\Db\Pdo;

// @codingStandardsIgnoreFile

use Magento\Framework\App\ResourceConnection\ConnectionAdapterInterface;
use Magento\Framework\DB;
use Magento\Framework\App\ObjectManager;
Expand Down

0 comments on commit 45673de

Please sign in to comment.