From 9e1dcb9a7813d75a4f9bb21472f7c368171c8264 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 28 Aug 2004 15:52:32 +0000 Subject: [PATCH] fixed double translation of extra options in selectboxes --- etemplate/inc/class.uietemplate.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etemplate/inc/class.uietemplate.inc.php b/etemplate/inc/class.uietemplate.inc.php index 22865181be..c33d67f6d2 100644 --- a/etemplate/inc/class.uietemplate.inc.php +++ b/etemplate/inc/class.uietemplate.inc.php @@ -807,7 +807,8 @@ if (!empty($multiple) && 0+$multiple <= 0) { $sels[''] = $multiple < 0 ? 'all' : $multiple; - if ((int)$cell['no_lang'] < 2) + // extra-option: no_lang=0 gets translated later and no_lang=1 gets translated too (now), only no_lang>1 gets not translated + if ((int)$cell['no_lang'] == 1) { $sels[''] = lang($sels['']); }