Module: tools Branch: master Commit: 2340f4d2f23c02cf35c649412a69ceb0b0fa1294 URL: https://source.winehq.org/git/tools.git/?a=commit;h=2340f4d2f23c02cf35c64941...
Author: Francois Gouget fgouget@codeweavers.com Date: Mon Mar 7 12:52:04 2022 +0100
testbot/cgi: Fix getting the property descriptors in FormPage::SaveProperties().
The base form page has no Collection field.
Signed-off-by: Francois Gouget fgouget@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
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 21c8631..067d11b 100644 --- a/testbot/lib/ObjectModel/CGI/FormPage.pm +++ b/testbot/lib/ObjectModel/CGI/FormPage.pm @@ -368,7 +368,7 @@ sub SaveProperties($) } }
- foreach my $PropertyDescriptor (@{$self->{Collection}->GetPropertyDescriptors}) + foreach my $PropertyDescriptor (@{$self->GetPropertyDescriptors()}) { if ($PropertyDescriptor->GetClass() eq "Basic" && $PropertyDescriptor->GetType() eq "B" &&