Recommit von r1154 von skoehler: Nachtag zu r1152, fehlerhafte Abfrage beim Bezahlen...
authorMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 22 Nov 2006 16:25:36 +0000 (16:25 +0000)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 22 Nov 2006 16:25:36 +0000 (16:25 +0000)
bin/mozilla/ir.pl
bin/mozilla/is.pl

index 595c32a..a9b8aee 100644 (file)
@@ -963,7 +963,7 @@ sub post {
     if ($form->{currency} ne $form->{defaultcurrency});
 
   for $i (1 .. $form->{paidaccounts}) {
-    if ($form->{"paid_$i"}) {
+    if ($form->parse_amount(\%myconfig, $form->{"paid_$i"})) {
       $datepaid = $form->datetonum($form->{"datepaid_$i"}, \%myconfig);
 
       $form->isblank("datepaid_$i", $locale->text('Payment date missing!'));
index 879d3d1..163ac14 100644 (file)
@@ -1360,7 +1360,7 @@ sub post {
     if ($form->{currency} ne $form->{defaultcurrency});
 
   for $i (1 .. $form->{paidaccounts}) {
-    if ($form->{"paid_$i"}) {
+    if ($form->parse_amount(\%myconfig, $form->{"paid_$i"})) {
       $datepaid = $form->datetonum($form->{"datepaid_$i"}, \%myconfig);
 
       $form->isblank("datepaid_$i", $locale->text('Payment date missing!'));