Ignore:
Timestamp:
May 21, 2011, 5:00:14 PM (14 years ago)
Author:
Eric
Message:

using conf_update_param() and pwg_db_real_escape_string()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/LCAS/trunk/maintain.inc.php

    r9384 r10979  
    2222  $q = '
    2323INSERT INTO '.CONFIG_TABLE.' (param, value, comment)
    24 VALUES ("LoginCaseAccentsSensitivity","'.addslashes(serialize($default)).'","LCAS parameters")
     24VALUES ("LoginCaseAccentsSensitivity","'.pwg_db_real_escape_string(serialize($default)).'","LCAS parameters")
    2525  ;';
    2626  pwg_query($q);
Note: See TracChangeset for help on using the changeset viewer.