Fix warning
This commit is contained in:
parent
e36cd21d5d
commit
3accb9d658
@ -421,9 +421,13 @@ if ($mode == 'feature')
|
|||||||
$i=0;
|
$i=0;
|
||||||
foreach($objMod->tabs as $val)
|
foreach($objMod->tabs as $val)
|
||||||
{
|
{
|
||||||
$tmp=explode(':',$val,3);
|
if (is_array($val)) $val=$val['data'];
|
||||||
$text.=($i?', ':'').$tmp[0].':'.$tmp[1];
|
if (is_string($val))
|
||||||
$i++;
|
{
|
||||||
|
$tmp=explode(':',$val,3);
|
||||||
|
$text.=($i?', ':'').$tmp[0].':'.$tmp[1];
|
||||||
|
$i++;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else $text.=$langs->trans("No");
|
else $text.=$langs->trans("No");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user