From: <de...@de...> - 2006-11-07 18:24:16
|
Author: HaraldJoerg Date: 2006-11-06 16:24:16 -0600 (Mon, 06 Nov 2006) New Revision: 11921 Modified: twiki/branches/MAIN/lib/TWiki/Configure/UIs/Value.pm Log: Item3028: Eliminate another warning which kills configure Modified: twiki/branches/MAIN/lib/TWiki/Configure/UIs/Value.pm =================================================================== --- twiki/branches/MAIN/lib/TWiki/Configure/UIs/Value.pm 2006-11-06 21:33:07 UTC (rev 11920) +++ twiki/branches/MAIN/lib/TWiki/Configure/UIs/Value.pm 2006-11-06 22:24:16 UTC (rev 11921) @@ -42,8 +42,8 @@ my $checker = TWiki::Configure::UI::loadChecker($keys, $value); # SMELL the following line is reported to have # Use of uninitialized value in concatenation (.) or string - # under some circumstances - $info .= $checker->check($value) if $checker; + # under some circumstances. Should check routines return undef? + $info .= $checker->check($value) || '' if $checker; my $class = $value->{typename}; $class .= ' mandatory' if ($value->{mandatory}); |