From d29ea406c27acfadba4ca90c2c29ae6fd5e99281 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 24 Mar 2004 01:20:00 +0000 Subject: [PATCH] fixed not translated help-messages if no_lang was checked --- etemplate/inc/class.uietemplate.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etemplate/inc/class.uietemplate.inc.php b/etemplate/inc/class.uietemplate.inc.php index deeab5f1ca..c0765c0076 100644 --- a/etemplate/inc/class.uietemplate.inc.php +++ b/etemplate/inc/class.uietemplate.inc.php @@ -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); }