fixed problem on home-page: set_app(etemplate) was missing

This commit is contained in:
Ralf Becker 2005-05-23 08:00:54 +00:00
parent ae3da17939
commit e19da05e52

View File

@ -91,6 +91,7 @@
function soetemplate($name='',$template='',$lang='',$group=0,$version='',$rows=1,$cols=1)
{
$this->db = clone($GLOBALS['phpgw']->db);
$this->db->set_app('etemplate');
$this->db_cols = $this->db_key_cols + $this->db_data_cols;
if (empty($name))
@ -1265,4 +1266,4 @@
}
}
}