[taxtxf-de_DE] fix invalid code

(unless book ...) is equivalent to (if (not book) ...) therefore this
snippet was incorrect.

previous commit ensures book always returns a non-#f object therefore
there's no need to handle #f anymore.
This commit is contained in:
Christopher Lam 2019-09-20 10:17:08 +08:00
parent 3208879e64
commit 2da5944596

View File

@ -768,12 +768,7 @@
(to-year (gnc-print-time64 to-value "%Y"))
(today-date (gnc-print-time64 (time64CanonicalDayTime (current-time))
"%d.%m.%Y"))
(tax-nr (unless book
(or
(gnc:option-get-value book gnc:*tax-label* gnc:*tax-nr-label*)
"")
""))
)
(tax-nr (gnc:option-get-value book gnc:*tax-label* gnc:*tax-nr-label*)))
;; Now, the main body
;; Reset all the balance collectors