Commit 86f5ab6f authored by Jerome Mariette's avatar Jerome Mariette
Browse files

No commit message

No commit message
parent 9bb29ede
......@@ -579,7 +579,7 @@ class tx_nG6_pi1 extends tslib_pibase {
}
$smarty->assign('descriptions', $descriptions);
$smarty->assign('data_folder', $this->conf['data']);
if (isset($this->LOCAL_LANG[$this->LLkey])) {
if (isset($this->LOCAL_LANG[$this->LLkey]) && count($this->LOCAL_LANG[$this->LLkey]) > 0) {
$smarty->assign('llang', $this->LOCAL_LANG[$this->LLkey]);
} else {
$smarty->assign('llang', $this->LOCAL_LANG['default']);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment