Security : fix potential problem for SQL injection
This commit is contained in:
parent
1207d65ac0
commit
48f0c1f885
8 changed files with 39 additions and 29 deletions
|
|
@ -211,7 +211,7 @@ if ($get_option == 1)
|
|||
// Get the jrn type
|
||||
if ( $line['jrn_def_type'] == 'FIN' ) {
|
||||
$positive = $cn->get_value("select qf_amount from quant_fin ".
|
||||
" where jr_id=".$line['jr_id']);
|
||||
" where jr_id=$1",array($line['jr_id']));
|
||||
|
||||
$export->add($positive,"number");
|
||||
$export->add("");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue