Project

General

Profile

« Previous | Next » 

Revision 40

Added by stefan about 19 years ago

Change addslashes,stripslashes to (wb class) method calls add_slashes,strip_slashes

View differences:

modify.php
32 32
$query = "SELECT content FROM ".TABLE_PREFIX."mod_code WHERE section_id = '$section_id'";
33 33
$get_content = $database->query($query);
34 34
$content = $get_content->fetchRow();
35
$content = $admin->stripslashes(htmlspecialchars($content['content']));
35
$content = $admin->strip_slashes(htmlspecialchars($content['content']));
36 36

  
37 37
// Insert vars
38 38
$template->set_var(array(

Also available in: Unified diff