Project

General

Profile

« Previous | Next » 

Revision 409

Added by Matthias almost 18 years ago

Fixed form modul stores empty records

View differences:

trunk/wb/modules/form/modify.php
31 31
// Must include code to stop this file being access directly
32 32
if(!defined('WB_PATH')) { exit("Cannot access this file directly"); }
33 33

  
34
//Delete all form fields with no title
35
$database->query("DELETE FROM ".TABLE_PREFIX."mod_form_fields  WHERE page_id = '$page_id' and section_id = '$section_id' and title=''");
36

  
34 37
?>
35 38
<table cellpadding="0" cellspacing="0" border="0" width="100%">
36 39
<tr>

Also available in: Unified diff