1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 14:46:56 +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
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))