Revision 546480e0
Von Moritz Bunkus vor mehr als 17 Jahren hinzugefügt
bin/mozilla/cp.pl | ||
---|---|---|
87 | 87 |
} @{ $form->{PR}{ $form->{ARAP} } }; |
88 | 88 |
|
89 | 89 |
# currencies |
90 |
@curr = split /:/, $form->{currencies};
|
|
90 |
@curr = split(/:/, $form->{currencies});
|
|
91 | 91 |
chomp $curr[0]; |
92 | 92 |
$form->{defaultcurrency} = $form->{currency} = $form->{oldcurrency} = |
93 | 93 |
$curr[0]; |
... | ... | |
668 | 668 |
|
669 | 669 |
&check_form; |
670 | 670 |
|
671 |
($whole, $form->{decimal}) = split /\./, $form->{amount};
|
|
671 |
($whole, $form->{decimal}) = split(/\./, $form->{amount});
|
|
672 | 672 |
|
673 | 673 |
$form->{amount} = $form->format_amount(\%myconfig, $form->{amount}, 2); |
674 | 674 |
|
Auch abrufbar als: Unified diff
CP.pm auf die Verwendung von parametrisierten Queries zur Vermeidung von SQL injections umgestellt.