From 9c019e97019dcdb9e7cd5ffa0584b50cfed0d5b5 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 25 Jul 2007 09:02:40 +0000 Subject: [PATCH] Wenn noch gar keine Mahnlevel existieren, dann darf "rowcount" nicht leer bleiben. --- templates/webpages/dunning/edit_config_de.html | 1 + templates/webpages/dunning/edit_config_master.html | 1 + 2 files changed, 2 insertions(+) diff --git a/templates/webpages/dunning/edit_config_de.html b/templates/webpages/dunning/edit_config_de.html index 23bfc9d02..53e8b69ef 100644 --- a/templates/webpages/dunning/edit_config_de.html +++ b/templates/webpages/dunning/edit_config_de.html @@ -53,6 +53,7 @@ [% IF DUNNING_it.last %][% SET rowcount = DUNNING_it.size + 1 %][% END %] [% END %] + [%- UNLESS rowcount %][% SET rowcount = '1' %][% END -%] diff --git a/templates/webpages/dunning/edit_config_master.html b/templates/webpages/dunning/edit_config_master.html index f1040d3ca..337fae768 100644 --- a/templates/webpages/dunning/edit_config_master.html +++ b/templates/webpages/dunning/edit_config_master.html @@ -53,6 +53,7 @@ [% IF DUNNING_it.last %][% SET rowcount = DUNNING_it.size + 1 %][% END %] [% END %] + [%- UNLESS rowcount %][% SET rowcount = '1' %][% END -%] -- 2.20.1