From fbca10f61738d3f1bdfb03215cb9b4edb3a02d8e Mon Sep 17 00:00:00 2001 From: Doug Bell Date: Tue, 21 Dec 2010 14:30:17 -0600 Subject: [PATCH] remove use of AUTOLOAD --- lib/WebGUI/Account/Contributions.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/WebGUI/Account/Contributions.pm b/lib/WebGUI/Account/Contributions.pm index 202441ec9..79efd1249 100644 --- a/lib/WebGUI/Account/Contributions.pm +++ b/lib/WebGUI/Account/Contributions.pm @@ -215,12 +215,12 @@ sub www_view { tie my %rpps, "Tie::IxHash"; %rpps = (25 => "25", 50 => "50", 100=>"100"); - $var->{'contributions_rpp' } = WebGUI::Form::selectBox($session,{ + $var->{'contributions_rpp' } = WebGUI::Form::SelectBox->new($session,{ name =>"rpp", options => \%rpps, value => $session->form->get("rpp") || 25, extras => q{onchange="location.href='}.$var->{'rpp_url'}.q{;rpp='+this.options[this.selectedIndex].value"} - }); + })->toHtml; $self->appendCommonVars($var); $p->appendTemplateVars($var);