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