testbot/lib: Fix an incorrect string equality test.

Francois Gouget fgouget at codeweavers.com
Mon Oct 22 05:14:12 CDT 2012


---
 testbot/lib/ObjectModel/CGI/FormPage.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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'>";
-- 
1.7.10.4




More information about the wine-patches mailing list