getting value for display shouldn't process form parameters

This commit is contained in:
Graham Knop 2008-06-10 18:35:23 +00:00
parent 5d35c3a56a
commit bedac54d96
12 changed files with 13 additions and 13 deletions

View file

@ -119,7 +119,7 @@ Shows either Yes or No.
sub getValueAsHtml {
my $self = shift;
my $i18n = WebGUI::International->new($self->session);
if ($self->getValue) {
if ($self->getDefaultValue) {
return $i18n->get(138);
}
return $i18n->get(139);