show raw selectvalue, if we are not able to show the corresponding selection entry

This commit is contained in:
Klaus Leithoff 2011-05-17 11:46:56 +00:00
parent 957b43afd4
commit 64c798cda4

View File

@ -1555,7 +1555,7 @@ class etemplate extends boetemplate
} }
else else
{ {
$option_label = $sels[$val]; $option_label = ($sels[$val]?$sels[$val]:$val);
$option_title = ''; $option_title = '';
} }
if (!$cell['no_lang']) $option_label = lang($option_label); if (!$cell['no_lang']) $option_label = lang($option_label);