Oops a daisy

This commit is contained in:
Len Kranendonk 2005-08-25 14:26:49 +00:00
parent fcc8e93970
commit 73b892a580

View file

@ -80,6 +80,9 @@ sub get {
$namespace = $_[1] || "WebGUI";
$language = $_[2] || $session{user}{language} || "English";
}
$id =~ s/[^\w\d\s\/]//g;
$language =~ s/[^\w\d\s]//g;
$namespace =~ s/[^\w\d\s]//g;
my $cmd = "WebGUI::i18n::".$language."::".$namespace;
my $load = "use ".$cmd;
eval($load);