Revision 366
Added by ryan almost 18 years ago
trunk/wb/modules/form/save_field.php | ||
---|---|---|
73 | 73 |
$value = $admin->get_post_escaped('value'); |
74 | 74 |
$database->query("UPDATE ".TABLE_PREFIX."mod_form_fields SET value = '$value', extra = '$length' WHERE field_id = '$field_id'"); |
75 | 75 |
} elseif($admin->get_post('type') == 'textarea') { |
76 |
$value = $admin->get_post_escaped('value'));
|
|
76 |
$value = $admin->get_post_escaped('value'); |
|
77 | 77 |
$database->query("UPDATE ".TABLE_PREFIX."mod_form_fields SET value = '$value', extra = '' WHERE field_id = '$field_id'"); |
78 | 78 |
} elseif($admin->get_post('type') == 'heading') { |
79 | 79 |
$extra = $admin->get_post('template'); |
Also available in: Unified diff
Fixed typo bug in form module save_field