fix for older Locale::Maketext with blank string, fallout from menu change for RT...
authorivan <ivan>
Sat, 15 Oct 2011 01:47:07 +0000 (01:47 +0000)
committerivan <ivan>
Sat, 15 Oct 2011 01:47:07 +0000 (01:47 +0000)
FS/FS/Maketext.pm

index ccfc120..c90e573 100644 (file)
@@ -11,6 +11,7 @@ our @EXPORT_OK = qw( mt emt js_mt );
 our $lh;
 
 sub mt {
+  return '' if $_[0] eq '';
   $lh ||= lh();
   $lh->maketext(@_);
 }