diff --git a/lib/WebGUI/TabForm.pm b/lib/WebGUI/TabForm.pm index 01546e909..ad7258797 100644 --- a/lib/WebGUI/TabForm.pm +++ b/lib/WebGUI/TabForm.pm @@ -48,7 +48,7 @@ Package that makes creating tab-based forms simple through an object-oriented AP $tabform = WebGUI::TabForm->new($self->session,\%tabs); - $tabform->hidden($name, $value); + $tabform->hidden({name => $name, value => $value}); $tabform->submit(\%params); $html = $tabform->print;