Skip to content

Commit

Permalink
ENGCOM-3149: Fixed typo from filed to field #18505
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanislav Idolov authored Oct 10, 2018
2 parents 6f4c0dc + debcee0 commit 26e1521
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/code/Magento/Catalog/Model/ResourceModel/Category.php
Original file line number Diff line number Diff line change
Expand Up @@ -923,7 +923,7 @@ public function changeParent(
$childrenCount = $this->getChildrenCount($category->getId()) + 1;
$table = $this->getEntityTable();
$connection = $this->getConnection();
$levelFiled = $connection->quoteIdentifier('level');
$levelField = $connection->quoteIdentifier('level');
$pathField = $connection->quoteIdentifier('path');

/**
Expand Down Expand Up @@ -963,7 +963,7 @@ public function changeParent(
$newPath . '/'
) . ')'
),
'level' => new \Zend_Db_Expr($levelFiled . ' + ' . $levelDisposition)
'level' => new \Zend_Db_Expr($levelField . ' + ' . $levelDisposition)
],
[$pathField . ' LIKE ?' => $category->getPath() . '/%']
);
Expand Down

0 comments on commit 26e1521

Please sign in to comment.