Revision 203
Added by ryan about 19 years ago
trunk/wb/modules/form/modify_settings.php | ||
---|---|---|
86 | 86 |
<option value="" onclick="javascript: document.getElementById('email_from').style.display = 'block';"><?php echo $TEXT['CUSTOM']; ?>:</option> |
87 | 87 |
<?php |
88 | 88 |
$email_from_value = str_replace($raw, $friendly, ($setting['email_from'])); |
89 |
$query_email_fields = $database->query("SELECT field_id,title FROM ".TABLE_PREFIX."mod_form_fields ORDER BY position ASC"); |
|
89 |
$query_email_fields = $database->query("SELECT field_id,title FROM ".TABLE_PREFIX."mod_form_fields WHERE section_id = '$section_id' ORDER BY position ASC");
|
|
90 | 90 |
if($query_email_fields->numRows() > 0) { |
91 | 91 |
while($field = $query_email_fields->fetchRow()) { |
92 | 92 |
?> |
Also available in: Unified diff
Fixed bug in Form settings page