Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 79693c8

Browse files
author
Denis Ristic
committed
FIXED default getChildren() $recursive value
1 parent 9d593a4 commit 79693c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Model/Category.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,7 @@ public function getAllChildren($asArray = false)
785785
* @param boolean $sortByPosition
786786
* @return string
787787
*/
788-
public function getChildren($recursive = true, $isActive = true, $sortByPosition = false)
788+
public function getChildren($recursive = false, $isActive = true, $sortByPosition = false)
789789
{
790790
return implode(',', $this->getResource()->getChildren($this, $recursive, $isActive, $sortByPosition));
791791
}

0 commit comments

Comments
 (0)