1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-03 21:27:25 +02:00

Merge pull request #3032 from Deltik/fix-3029

Fixed critical regression introduced in b3a2740
This commit is contained in:
Cameron
2018-02-09 12:41:22 -08:00
committed by GitHub

View File

@@ -3344,7 +3344,7 @@ class e_tree_model extends e_front_model
if($sql->gen($this->getParam('db_query'), $this->getParam('db_debug') ? true : false))
{
$rows_tree = self::arrayToTree($sql->rows,
$rows_tree = self::arrayToTree($sql->rows(),
$this->getParam('primary_field'),
$this->getParam('sort_parent'));
$rows = self::flattenTree($rows_tree,