Prevent SQL Injection (advice from Victor Perez)
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2214883
This commit is contained in:
parent
38396298cd
commit
9aa3c31c35
|
@ -358,7 +358,7 @@ public class MAccount extends X_C_ValidCombination
|
|||
* @param where where clause
|
||||
* @param trxName transaction
|
||||
*/
|
||||
public static void updateValueDescription (Properties ctx, String where, String trxName)
|
||||
public static void updateValueDescription (Properties ctx, final String where, String trxName)
|
||||
{
|
||||
List<MAccount> accounts= new Query(ctx,MAccount.Table_Name,where,trxName)
|
||||
.setOrderBy(MAccount.COLUMNNAME_C_ValidCombination_ID).list();
|
||||
|
|
Loading…
Reference in New Issue