mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 23:29:31 +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
|
||||
{
|
||||
if (is_null(self::$db)) self::init(false);
|
||||
$loaded = array();
|
||||
foreach(self::$db->select(self::LANG_TABLE,'message_id,content',array(
|
||||
'lang' => $lang,
|
||||
|
Loading…
Reference in New Issue
Block a user