Skip to content

Commit acd8d51

Browse files
author
Stanislav Idolov
authored
ENGCOM-3173: Fixed typo from filed to field #18556
2 parents 07f1f01 + d552dc4 commit acd8d51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Catalog/Model/ResourceModel/Category.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -920,7 +920,7 @@ public function changeParent(
920920
$childrenCount = $this->getChildrenCount($category->getId()) + 1;
921921
$table = $this->getEntityTable();
922922
$connection = $this->getConnection();
923-
$levelFiled = $connection->quoteIdentifier('level');
923+
$levelField = $connection->quoteIdentifier('level');
924924
$pathField = $connection->quoteIdentifier('path');
925925

926926
/**
@@ -960,7 +960,7 @@ public function changeParent(
960960
$newPath . '/'
961961
) . ')'
962962
),
963-
'level' => new \Zend_Db_Expr($levelFiled . ' + ' . $levelDisposition)
963+
'level' => new \Zend_Db_Expr($levelField . ' + ' . $levelDisposition)
964964
],
965965
[$pathField . ' LIKE ?' => $category->getPath() . '/%']
966966
);

0 commit comments

Comments
 (0)