From 580c6bf6f7db78a81f68056055616e4e3ee9f302 Mon Sep 17 00:00:00 2001 From: Scott Walters Date: Tue, 10 Aug 2010 15:21:21 -0400 Subject: [PATCH] Update addTab usage to pass name/value pairs. --- lib/WebGUI/Asset/Wobject/Poll.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/Asset/Wobject/Poll.pm b/lib/WebGUI/Asset/Wobject/Poll.pm index 298c2322c..f4a7c1f1b 100644 --- a/lib/WebGUI/Asset/Wobject/Poll.pm +++ b/lib/WebGUI/Asset/Wobject/Poll.pm @@ -281,7 +281,7 @@ override getEditForm => sub { if (WebGUI::Image::Graph->getPluginList($self->session)) { my $config = $self->getGraphConfig; - $fb->addTab('graph', $i18n->get('Graphing','Image_Graph')); + $fb->addTab(name => 'graph', label => $i18n->get('Graphing','Image_Graph')); $fb->getTab('graph')->addField( "yesNo", name => 'generateGraph', label => $i18n->get('generate graph'),