Project

General

Profile

« Previous | Next » 

Revision 196

Added by ryan about 19 years ago

Fixed minor bug in form mod

View differences:

trunk/wb/modules/form/add.php
53 53
$success_message = 'Thank-you.';
54 54
$max_submissions = 50;
55 55
$stored_submissions = 100;
56
$database->query("INSERT INTO ".TABLE_PREFIX."mod_form_settings (page_id,section_id,header,field_loop,footer,email_to,email_from,email_subject,success_message,max_submissions,stored_submissions,use_captcha) VALUES ('$page_id','$section_id','$header','$field_loop','$footer','$email_to','$email_from','$email_subject','$success_message','$max_submissions','$stored_submissions','$use_captcha')");
56
$database->query("INSERT INTO ".TABLE_PREFIX."mod_form_settings (page_id,section_id,header,field_loop,footer,email_to,email_from,email_subject,success_message,max_submissions,stored_submissions) VALUES ('$page_id','$section_id','$header','$field_loop','$footer','$email_to','$email_from','$email_subject','$success_message','$max_submissions','$stored_submissions')");
57 57

  
58 58
?>

Also available in: Unified diff