From: ivan Date: Sat, 15 Oct 2011 01:47:06 +0000 (+0000) Subject: fix for older Locale::Maketext with blank string, fallout from menu change for RT... X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=5ea2ba2a9cc39bb4671664c3385d15a1d0c46ac6 fix for older Locale::Maketext with blank string, fallout from menu change for RT#14695 --- diff --git a/FS/FS/Maketext.pm b/FS/FS/Maketext.pm index ccfc1204b..c90e57303 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(@_); }