Skip to content

Commit

Permalink
FIXED default getChildren() $recursive value
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Ristic committed Oct 12, 2017
1 parent 9d593a4 commit 79693c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/Magento/Catalog/Model/Category.php
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@ public function getAllChildren($asArray = false)
* @param boolean $sortByPosition
* @return string
*/
public function getChildren($recursive = true, $isActive = true, $sortByPosition = false)
public function getChildren($recursive = false, $isActive = true, $sortByPosition = false)
{
return implode(',', $this->getResource()->getChildren($this, $recursive, $isActive, $sortByPosition));
}
Expand Down

0 comments on commit 79693c8

Please sign in to comment.