fixed not translated help-messages if no_lang was checked

This commit is contained in:
Ralf Becker 2004-03-24 01:20:00 +00:00
parent df50e01fb4
commit d29ea406c2

View File

@ -556,7 +556,7 @@
} }
if ($help) if ($help)
{ {
if ($cell['no_lang'] < 2) if ((int)$cell['no_lang'] < 2)
{ {
$help = lang($help); $help = lang($help);
} }
@ -939,7 +939,7 @@
} }
if ($extra_label && ($label != '' || $html == '')) if ($extra_label && ($label != '' || $html == ''))
{ {
if (strlen($label) > 1 && !($cell['no_lang'] && $cell['label'] != $label || $cell['no_lang'] == 2)) if (strlen($label) > 1 && !($cell['no_lang'] && $cell['label'] != $label || (int)$cell['no_lang'] == 2))
{ {
$label = lang($label); $label = lang($label);
} }