"fixed sometimes not loaded self:$db object in crontab calls"

This commit is contained in:
Ralf Becker 2009-08-27 20:00:09 +00:00
parent a5032b70b4
commit 824722ded3

View File

@ -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,