]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/cp.pl
CP.pm auf die Verwendung von parametrisierten Queries zur Vermeidung von SQL injectio...
[mfinanz.git] / bin / mozilla / cp.pl
index 8e31a8f1a588b7ea300f32f2aa65ef978c4a3f80..2e58c8f833cad333b921c96cd5b7664d05596744 100644 (file)
@@ -87,7 +87,7 @@ sub payment {
   } @{ $form->{PR}{ $form->{ARAP} } };
 
   # currencies
-  @curr = split /:/, $form->{currencies};
+  @curr = split(/:/, $form->{currencies});
   chomp $curr[0];
   $form->{defaultcurrency} = $form->{currency} = $form->{oldcurrency} =
     $curr[0];
@@ -668,7 +668,7 @@ sub print {
 
   &check_form;
 
-  ($whole, $form->{decimal}) = split /\./, $form->{amount};
+  ($whole, $form->{decimal}) = split(/\./, $form->{amount});
 
   $form->{amount} = $form->format_amount(\%myconfig, $form->{amount}, 2);