1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-07 07:06:30 +02:00

more e_model typos

This commit is contained in:
secretr
2010-05-02 14:38:31 +00:00
parent 322641881f
commit 59053103a4

View File

@@ -2297,7 +2297,7 @@ class e_tree_model extends e_model
// auto-load all // auto-load all
if(!$this->getParam('db_query') && $this->getModelTable()) 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)) if($this->getParam('db_query') && $class_name && class_exists($class_name))