Revision 36
Added by stefan about 20 years ago
| modify.php | ||
|---|---|---|
| 1 | 1 |
<?php |
| 2 | 2 |
|
| 3 |
// $Id: modify.php,v 1.1.1.1 2005/01/30 10:32:15 rdjurovich Exp $
|
|
| 3 |
// $Id$ |
|
| 4 | 4 |
|
| 5 | 5 |
/* |
| 6 | 6 |
|
| ... | ... | |
| 32 | 32 |
$query_info = "SELECT link,target FROM ".TABLE_PREFIX."pages WHERE page_id = '$page_id'"; |
| 33 | 33 |
$get_info = $database->query($query_info); |
| 34 | 34 |
$fetch_info = $get_info->fetchRow(); |
| 35 |
$link = stripslashes($fetch_info['link']); |
|
| 35 |
$link = $admin->stripslashes($fetch_info['link']);
|
|
| 36 | 36 |
$target = $fetch_info['target']; |
| 37 | 37 |
|
| 38 | 38 |
// Insert vars |
Also available in: Unified diff
Created new stripslashes method in class wb. Changed stripslashes() calls to method calls.