Skip to content

Commit 4e54af6

Browse files
committed
Fixed typo from filed to field
1 parent a474225 commit 4e54af6

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
@@ -923,7 +923,7 @@ public function changeParent(
923923
$childrenCount = $this->getChildrenCount($category->getId()) + 1;
924924
$table = $this->getEntityTable();
925925
$connection = $this->getConnection();
926-
$levelFiled = $connection->quoteIdentifier('level');
926+
$levelField = $connection->quoteIdentifier('level');
927927
$pathField = $connection->quoteIdentifier('path');
928928

929929
/**
@@ -963,7 +963,7 @@ public function changeParent(
963963
$newPath . '/'
964964
) . ')'
965965
),
966-
'level' => new \Zend_Db_Expr($levelFiled . ' + ' . $levelDisposition)
966+
'level' => new \Zend_Db_Expr($levelField . ' + ' . $levelDisposition)
967967
],
968968
[$pathField . ' LIKE ?' => $category->getPath() . '/%']
969969
);

0 commit comments

Comments
 (0)