Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 546480e0

Von Moritz Bunkus vor mehr als 17 Jahren hinzugefügt

  • ID 546480e0d8c4684288967aa54b80207d5c57a71a
  • Vorgänger 717d4a13
  • Nachfolger 292502ec

CP.pm auf die Verwendung von parametrisierten Queries zur Vermeidung von SQL injections umgestellt.

Unterschiede anzeigen:

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