Fixed warning as a result of undefined array index

This commit is contained in:
paul 2006-10-25 20:46:27 +00:00
parent 53078c3c0c
commit 9b8b5e364c
1 changed files with 2 additions and 2 deletions

View File

@ -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];