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

Fixed critical regression introduced in b3a2740

Oops.
This commit is contained in:
Deltik
2018-02-09 14:39:21 -06:00
parent b3a274010e
commit 05c418cbda

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,