mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-24 15:48:55 +01:00
"fixed sometimes not loaded self:$db object in crontab calls"
This commit is contained in:
parent
a5032b70b4
commit
824722ded3
@ -278,6 +278,7 @@ class translation
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
if (is_null(self::$db)) self::init(false);
|
||||||
$loaded = array();
|
$loaded = array();
|
||||||
foreach(self::$db->select(self::LANG_TABLE,'message_id,content',array(
|
foreach(self::$db->select(self::LANG_TABLE,'message_id,content',array(
|
||||||
'lang' => $lang,
|
'lang' => $lang,
|
||||||
|
Loading…
Reference in New Issue
Block a user