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

This commit is contained in:
Ralf Becker 2009-08-27 19:59:18 +00:00
parent 5378561274
commit a52fa4d5fc

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,