Ignore:
Timestamp:
05/21/11 16:54:45 (9 years ago)
Author:
Eric
Message:

using conf_update_param() and pwg_db_real_escape_string()

File:
1 edited

Legend:

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

    r10045 r10978  
    4949    $q = ' 
    5050INSERT INTO '.CONFIG_TABLE.' (param,value,comment) 
    51 VALUES ("HistoryIPConfig","'.addslashes(serialize($default)).'","History IP Excluder options"); 
     51VALUES ("HistoryIPConfig","'.pwg_db_real_escape_string(serialize($default)).'","History IP Excluder options"); 
    5252'; 
    5353    pwg_query($q); 
Note: See TracChangeset for help on using the changeset viewer.