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 @@ -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 );
You can’t perform that action at this time.
0 commit comments