summaryrefslogtreecommitdiff
path: root/FS/FS/Maketext.pm
diff options
context:
space:
mode:
authorivan <ivan>2011-10-15 01:47:06 +0000
committerivan <ivan>2011-10-15 01:47:06 +0000
commit5ea2ba2a9cc39bb4671664c3385d15a1d0c46ac6 (patch)
tree68ed31c4c96e541c9509f97dd42156972d3ce7e7 /FS/FS/Maketext.pm
parent1ee0b1290d186a706a256ca72347dc746c6c6688 (diff)
fix for older Locale::Maketext with blank string, fallout from menu change for RT#14695
Diffstat (limited to 'FS/FS/Maketext.pm')
-rw-r--r--FS/FS/Maketext.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/FS/FS/Maketext.pm b/FS/FS/Maketext.pm
index ccfc120..c90e573 100644
--- a/FS/FS/Maketext.pm
+++ b/FS/FS/Maketext.pm
@@ -11,6 +11,7 @@ our @EXPORT_OK = qw( mt emt js_mt );
our $lh;
sub mt {
+ return '' if $_[0] eq '';
$lh ||= lh();
$lh->maketext(@_);
}