File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/code/Magento/Catalog/Model/ResourceModel Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -920,7 +920,7 @@ public function changeParent(
920
920
$ childrenCount = $ this ->getChildrenCount ($ category ->getId ()) + 1 ;
921
921
$ table = $ this ->getEntityTable ();
922
922
$ connection = $ this ->getConnection ();
923
- $ levelFiled = $ connection ->quoteIdentifier ('level ' );
923
+ $ levelField = $ connection ->quoteIdentifier ('level ' );
924
924
$ pathField = $ connection ->quoteIdentifier ('path ' );
925
925
926
926
/**
@@ -960,7 +960,7 @@ public function changeParent(
960
960
$ newPath . '/ '
961
961
) . ') '
962
962
),
963
- 'level ' => new \Zend_Db_Expr ($ levelFiled . ' + ' . $ levelDisposition )
963
+ 'level ' => new \Zend_Db_Expr ($ levelField . ' + ' . $ levelDisposition )
964
964
],
965
965
[$ pathField . ' LIKE ? ' => $ category ->getPath () . '/% ' ]
966
966
);
You can’t perform that action at this time.
0 commit comments