From: Marei (peiTeX) Date: Wed, 23 Feb 2022 11:32:04 +0000 (+0100) Subject: marei fix expansion to test if \lxcurrecncy is empty X-Git-Tag: kivitendo-mebil_0.1-0~10^2~2^2~172 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=b5c4dac8a8a74a91e5ec58b68f6b1760176aaafe;p=kivitendo-erp.git marei fix expansion to test if \lxcurrecncy is empty --- diff --git a/templates/print/marei/kiviletter.sty b/templates/print/marei/kiviletter.sty index 983ffa2cb..79b33a818 100644 --- a/templates/print/marei/kiviletter.sty +++ b/templates/print/marei/kiviletter.sty @@ -648,7 +648,7 @@ \exp_args:Nf \str_if_in:nnT {#3} {CHF} {\tl_gset:Nn \g_kivi_currency_tl {chf}} \exp_args:Nf \str_if_in:nnT {#3} {EUR} {\tl_gset:Nn \g_kivi_currency_tl {euro}} \tl_if_empty:NT \g_kivi_currency_tl { - \tl_if_empty:nTF {#3} { + \tl_if_empty:oTF {#3} { \tl_gset:Nn \g_kivi_currency_tl {#1} } { \tl_gset:Nn \g_kivi_currency_tl {#3}