Fixed warning as a result of undefined array index
This commit is contained in:
parent
53078c3c0c
commit
9b8b5e364c
|
@ -279,9 +279,9 @@ class uiBrowser extends uiBase {
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
foreach ($mdata as $key=>$val) {
|
||||
foreach ($mdata as $key => $val) {
|
||||
if (is_array($val)) {
|
||||
if ($val[$this->langid]) {
|
||||
if (isset($val[$this->langid])) {
|
||||
$val = $val[$this->langid];
|
||||
} else {
|
||||
$val = $val[UI_DEFAULT_LANGID];
|
||||
|
|
Loading…
Reference in New Issue