Revision 42
Added by stefan about 20 years ago
| modify.php | ||
|---|---|---|
| 65 | 65 |
</td> |
| 66 | 66 |
<td> |
| 67 | 67 |
<a href="<?php echo WB_URL; ?>/modules/news/modify_post.php?page_id=<?php echo $page_id; ?>§ion_id=<?php echo $section_id; ?>&post_id=<?php echo $post['post_id']; ?>"> |
| 68 |
<?php echo $admin->strip_slashes($post['title']); ?> |
|
| 68 |
<?php echo $admin->strip_slashes_dummy($post['title']); ?>
|
|
| 69 | 69 |
</a> |
| 70 | 70 |
</td> |
| 71 | 71 |
<td width="180"> |
| ... | ... | |
| 74 | 74 |
$query_title = $database->query("SELECT title FROM ".TABLE_PREFIX."mod_news_groups WHERE group_id = '".$post['group_id']."'");
|
| 75 | 75 |
if($query_title->numRows() > 0) {
|
| 76 | 76 |
$fetch_title = $query_title->fetchRow(); |
| 77 |
echo $admin->strip_slashes($fetch_title['title']); |
|
| 77 |
echo $admin->strip_slashes_dummy($fetch_title['title']);
|
|
| 78 | 78 |
} else {
|
| 79 | 79 |
echo $TEXT['NONE']; |
| 80 | 80 |
} |
Also available in: Unified diff
Changed most occurrences of strip_slashes to new dummy method strip_slashes_dummy.