mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 08:23:12 +01:00
fixed not translated help-messages if no_lang was checked
This commit is contained in:
parent
df50e01fb4
commit
d29ea406c2
@ -556,7 +556,7 @@
|
||||
}
|
||||
if ($help)
|
||||
{
|
||||
if ($cell['no_lang'] < 2)
|
||||
if ((int)$cell['no_lang'] < 2)
|
||||
{
|
||||
$help = lang($help);
|
||||
}
|
||||
@ -939,7 +939,7 @@
|
||||
}
|
||||
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user