Revision 945
Added by aldus over 15 years ago
delete.php | ||
---|---|---|
29 | 29 |
*/ |
30 | 30 |
|
31 | 31 |
// Delete page from mod_wysiwyg |
32 |
$database->query("DELETE FROM ".TABLE_PREFIX."mod_form_fields WHERE page_id = '$page_id'"); |
|
33 |
$database->query("DELETE FROM ".TABLE_PREFIX."mod_form_settings WHERE page_id = '$page_id'"); |
|
32 |
$database->query("DELETE FROM ".TABLE_PREFIX."mod_form_fields WHERE page_id = '$page_id' AND section_id='$section_id'");
|
|
33 |
$database->query("DELETE FROM ".TABLE_PREFIX."mod_form_settings WHERE page_id = '$page_id' AND section_id='$section_id'");
|
|
34 | 34 |
|
35 | 35 |
?> |
Also available in: Unified diff
bugfix for #693, add the section_id to the query to aviod conflicts
changes the center tag inside the warning.htt templates to get valid xhtml1.1 output ...