From 59053103a4ec208cfc9de3a759305a35a14d5fdd Mon Sep 17 00:00:00 2001 From: secretr Date: Sun, 2 May 2010 14:38:31 +0000 Subject: [PATCH] more e_model typos --- 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 29b81de4e..519be989b 100644 --- a/e107_handlers/model_class.php +++ b/e107_handlers/model_class.php @@ -2297,7 +2297,7 @@ class e_tree_model extends e_model // auto-load all if(!$this->getParam('db_query') && $this->getModelTable()) { - $this->getParam('db_query', 'SELECT'.(!$this->getParam('nocount') ? ' SQL_CALC_FOUND_ROWS' : '').' * FROM '.$this->getModelTable()); + $this->setParam('db_query', 'SELECT'.(!$this->getParam('nocount') ? ' SQL_CALC_FOUND_ROWS' : '').' * FROM '.$this->getModelTable()); } if($this->getParam('db_query') && $class_name && class_exists($class_name))