Revision 36
Added by stefan about 20 years ago
| view.php | ||
|---|---|---|
| 1 | 1 |
<?php |
| 2 | 2 |
|
| 3 |
// $Id: view.php,v 1.3 2005/06/21 09:08:41 rdjurovich Exp $
|
|
| 3 |
// $Id$ |
|
| 4 | 4 |
|
| 5 | 5 |
/* |
| 6 | 6 |
|
| ... | ... | |
| 26 | 26 |
// Get content |
| 27 | 27 |
$get_content = $database->query("SELECT content FROM ".TABLE_PREFIX."mod_wysiwyg WHERE section_id = '$section_id'");
|
| 28 | 28 |
$fetch_content = $get_content->fetchRow(); |
| 29 |
$content = stripslashes($fetch_content['content']); |
|
| 29 |
$content = $this->stripslashes($fetch_content['content']);
|
|
| 30 | 30 |
|
| 31 | 31 |
$this->preprocess($content); |
| 32 | 32 |
|
Also available in: Unified diff
Created new stripslashes method in class wb. Changed stripslashes() calls to method calls.