From a40189ccc01ae505870f40127838f888a48ccb81 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Thu, 7 Oct 2010 14:36:38 -0700 Subject: [PATCH] Better i18n handling of getName. --- lib/WebGUI/Shop/PayDriver.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/Shop/PayDriver.pm b/lib/WebGUI/Shop/PayDriver.pm index ab71a02ae..58012b46e 100644 --- a/lib/WebGUI/Shop/PayDriver.pm +++ b/lib/WebGUI/Shop/PayDriver.pm @@ -417,7 +417,7 @@ sub getName { WebGUI::Error::InvalidParam->throw(error => q{Must provide a session variable}) unless ref $session eq 'WebGUI::Session'; - return WebGUI::International->new($session, 'Asset')->get(@{ $class->meta->pluginName }); + return WebGUI::International->new($session)->get(@{ $class->meta->pluginName }); } #-------------------------------------------------------------------