Return to lonlocal.pm CVS log | Up to [LON-CAPA] / loncom / localize |
version 1.43, 2008/01/29 13:26:09 | version 1.44, 2008/05/16 16:11:56 |
---|---|
Line 182 sub mt (@) { | Line 182 sub mt (@) { |
# print LOG (@_[0]."\n"); | # print LOG (@_[0]."\n"); |
# close(LOG); | # close(LOG); |
if ($lh) { | if ($lh) { |
return $lh->maketext(@_); | if ($_[0] eq '') { |
if (wantarray) { | |
return @_; | |
} else { | |
return $_[0]; | |
} | |
} else { | |
return $lh->maketext(@_); | |
} | |
} else { | } else { |
if (wantarray) { | if (wantarray) { |
return @_; | return @_; |