From 622f1b1658522f0a053c80c36f06196443aabdc6 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Wed, 28 Apr 2010 15:53:17 -0700 Subject: [PATCH] Fix a double my warning in the Cart. --- lib/WebGUI/Shop/Cart.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/Shop/Cart.pm b/lib/WebGUI/Shop/Cart.pm index 295ec6749..0437fdd07 100644 --- a/lib/WebGUI/Shop/Cart.pm +++ b/lib/WebGUI/Shop/Cart.pm @@ -1138,7 +1138,7 @@ sub www_view { # render the cart my $template = WebGUI::Asset::Template->new($session, $session->setting->get("shopCartTemplateId")); - my ($style, $url) = $session->quick('style', 'url'); + my $style = $session->style; my $yui = $url->extras('/yui/build'); $style->setScript("$yui/yahoo/yahoo-min.js"); $style->setScript("$yui/json/json-min.js");