Better i18n handling of getName.

This commit is contained in:
Colin Kuskie 2010-10-07 14:36:38 -07:00
parent 18b89ee15b
commit a40189ccc0

View file

@ -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 });
}
#-------------------------------------------------------------------