mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
fixed smal prob with non existing header
This commit is contained in:
parent
7690dd10f7
commit
ecae41f156
@ -61,7 +61,7 @@
|
|||||||
$this->placeholders[] = '%'.$i;
|
$this->placeholders[] = '%'.$i;
|
||||||
}
|
}
|
||||||
$this->db = is_object($GLOBALS['egw']->db) ? $GLOBALS['egw']->db : $GLOBALS['egw_setup']->db;
|
$this->db = is_object($GLOBALS['egw']->db) ? $GLOBALS['egw']->db : $GLOBALS['egw_setup']->db;
|
||||||
$this->db->set_app('phpgwapi');
|
if (is_object($this->db)) $this->db->set_app('phpgwapi');
|
||||||
|
|
||||||
if (!isset($GLOBALS['egw_setup']))
|
if (!isset($GLOBALS['egw_setup']))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user