]> wagnertech.de Git - mfinanz.git/blobdiff - SL/Locale.pm
locale->text prüft jetzt auf bool statt auf exists.
[mfinanz.git] / SL / Locale.pm
index 7f8b6c691bf8021b244cb038f210f33dc75f68f7..881d5925e3df2b1db9d0c39d51840b82db2ba8b8 100644 (file)
@@ -213,7 +213,7 @@ sub text {
   my $self = shift;
   my $text = shift;
 
-  if (exists $self->{texts}->{$text}) {
+  if ($self->{texts}->{$text}) {
     $text = $self->{iconv}->convert($self->{texts}->{$text});
   } else {
     $text = $self->{iconv_english}->convert($text);