Module: tools Branch: master Commit: d67806173d8f929a837c7166d67a088954e3e0a1 URL: http://source.winehq.org/git/tools.git/?a=commit;h=d67806173d8f929a837c7166d...
Author: Francois Gouget fgouget@codeweavers.com Date: Mon Oct 22 12:14:12 2012 +0200
testbot/lib: Fix an incorrect string equality test.
---
testbot/lib/ObjectModel/CGI/FormPage.pm | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/testbot/lib/ObjectModel/CGI/FormPage.pm b/testbot/lib/ObjectModel/CGI/FormPage.pm index 4595e44..eb859a0 100644 --- a/testbot/lib/ObjectModel/CGI/FormPage.pm +++ b/testbot/lib/ObjectModel/CGI/FormPage.pm @@ -243,7 +243,7 @@ sub GenerateField my ($PropertyDescriptor, $Display) = @_;
my $Value = $self->GetDisplayValue($PropertyDescriptor); - if ($Display == "rw") + if ($Display eq "rw") { my $InputType = $self->GetInputType($PropertyDescriptor); print "<div class='ItemValue'>";