forked from extern/egroupware
fixed prob with localised list and not already loaded translations: setup was only installing the first language on upgrad of an app, as the translate-call changed the db-cursor
This commit is contained in:
parent
0c9e59afaf
commit
0e649819d8
@ -201,7 +201,11 @@
|
||||
}
|
||||
while ($this->db->next_record())
|
||||
{
|
||||
$this->langs[$this->db->f('lang')] = $this->translate($this->db->f('lang_name'),False,'');
|
||||
$this->langs[$this->db->f('lang')] = $this->db->f('lang_name');
|
||||
}
|
||||
foreach($this->langs as $lang => $name)
|
||||
{
|
||||
$this->langs[$lang] = $this->translate($name,False,'');
|
||||
}
|
||||
}
|
||||
return $this->langs;
|
||||
|
Loading…
Reference in New Issue
Block a user