Ignore:
Timestamp:
01/17/13 14:39:41 (6 years ago)
Author:
mistic100
Message:

replace mysql functions by pwg_db

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/lightbox/save_history.php

    r5734 r20207  
    3636if (!empty($_POST['section'])) 
    3737{ 
    38   $page['section'] = mysql_real_escape_string($_POST['section']); 
     38  $page['section'] = pwg_db_real_escape_string($_POST['section']); 
    3939} 
    4040if (!empty($_POST['catid'])) 
    4141{ 
    42   $page['category']['id'] = mysql_real_escape_string($_POST['catid']); 
     42  $page['category']['id'] = pwg_db_real_escape_string($_POST['catid']); 
    4343} 
    4444if ('tags'==@$page['section'] and !empty($_POST['tagids'])) 
    4545{ 
    46   $tags_string = mysql_real_escape_string($_POST['tagids']); 
     46  $tags_string = pwg_db_real_escape_string($_POST['tagids']); 
    4747} 
    4848 
Note: See TracChangeset for help on using the changeset viewer.