fix ifkomavarempty
authorMarei Peischl <marei@peitex.de>
Thu, 21 Nov 2019 13:53:17 +0000 (14:53 +0100)
committerJan Büren <jan@kivitendo.de>
Mon, 3 Feb 2020 11:21:38 +0000 (12:21 +0100)
kiviletter.sty

index 512beff..d76069f 100644 (file)
@@ -112,8 +112,8 @@ contents={\usebox\shippingAddressBox}
                \datum&\usekomavar{date}\\
                \kundennummer&\usekomavar{customer}\\
                \ansprechpartner&\usekomavar{fromname}\\
-               \ifkomavarempty{fromphone}{\textTelefon&\usekomavar{fromphone}\\}
-               \ifkomavarempty{fromemail}{\textEmail&\usekomavar{fromemail}\\}
+               \ifkomavarempty{fromphone}{}{\textTelefon&\usekomavar{fromphone}\\}
+               \ifkomavarempty{fromemail}{}{\textEmail&\usekomavar{fromemail}\\}
        \end{tabularx}
 }
 \removereffields