Revision 36
Added by stefan about 19 years ago
modify.php | ||
---|---|---|
1 | 1 |
<?php |
2 | 2 |
|
3 |
// $Id: modify.php,v 1.2 2005/06/21 09:13:12 rdjurovich Exp $
|
|
3 |
// $Id$ |
|
4 | 4 |
|
5 | 5 |
/* |
6 | 6 |
|
... | ... | |
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 = stripslashes(htmlspecialchars($content['content'])); |
|
35 |
$content = $admin->stripslashes(htmlspecialchars($content['content']));
|
|
36 | 36 |
|
37 | 37 |
// Insert vars |
38 | 38 |
$template->set_var(array( |
Also available in: Unified diff
Created new stripslashes method in class wb. Changed stripslashes() calls to method calls.