Revision 46
Added by stefan about 20 years ago
| save.php | ||
|---|---|---|
| 31 | 31 |
|
| 32 | 32 |
// Update the mod_wysiwygs table with the contents |
| 33 | 33 |
if(isset($_POST['content'.$section_id])) {
|
| 34 |
$content = $admin->add_slashes($_POST['content']); |
|
| 34 |
$content = $admin->add_slashes($_POST['content'.$section_id]);
|
|
| 35 | 35 |
$text = strip_tags($content); |
| 36 | 36 |
$database = new database(); |
| 37 | 37 |
$query = "UPDATE ".TABLE_PREFIX."mod_wysiwyg SET content = '$content', text = '$text' WHERE section_id = '$section_id'"; |
Also available in: Unified diff
Fixed minor bugs