1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 13:47:31 +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)) 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('primary_field'),
$this->getParam('sort_parent')); $this->getParam('sort_parent'));
$rows = self::flattenTree($rows_tree, $rows = self::flattenTree($rows_tree,