From 05c418cbda32887bc50d6b04a76c1cc9ab938c89 Mon Sep 17 00:00:00 2001 From: Deltik Date: Fri, 9 Feb 2018 14:39:21 -0600 Subject: [PATCH] Fixed critical regression introduced in b3a2740 Oops. --- e107_handlers/model_class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_handlers/model_class.php b/e107_handlers/model_class.php index ba46ad2ee..03d671c15 100755 --- a/e107_handlers/model_class.php +++ b/e107_handlers/model_class.php @@ -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,