Francois Gouget : testbot/CGI: Fix the CallGenerateError(Div|Popup)() calls in CollectionBlock.

Alexandre Julliard julliard at winehq.org
Thu May 1 11:53:36 CDT 2014


Module: tools
Branch: master
Commit: 21c991065acc16bb51faec0a5e0cc54f52ff9915
URL:    http://source.winehq.org/git/tools.git/?a=commit;h=21c991065acc16bb51faec0a5e0cc54f52ff9915

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Thu May  1 14:34:19 2014 +0200

testbot/CGI: Fix the CallGenerateError(Div|Popup)() calls in CollectionBlock.

They were passing too many parameters.

---

 testbot/lib/ObjectModel/CGI/CollectionBlock.pm |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/testbot/lib/ObjectModel/CGI/CollectionBlock.pm b/testbot/lib/ObjectModel/CGI/CollectionBlock.pm
index 79c21ef..b663208 100644
--- a/testbot/lib/ObjectModel/CGI/CollectionBlock.pm
+++ b/testbot/lib/ObjectModel/CGI/CollectionBlock.pm
@@ -196,14 +196,14 @@ sub CallGenerateErrorDiv
 {
   my $self = shift;
 
-  $self->{EnclosingPage}->GenerateErrorDiv($self, @_);
+  $self->{EnclosingPage}->GenerateErrorDiv();
 }
 
 sub CallGenerateErrorPopup
 {
   my $self = shift;
 
-  $self->{EnclosingPage}->GenerateErrorPopup($self, @_);
+  $self->{EnclosingPage}->GenerateErrorPopup();
 }
 
 sub CallGenerateFormEnd




More information about the wine-cvs mailing list