Commit 3cf3124c authored by User expired's avatar User expired
Browse files

bugfix: disable/enable answer

parent 3f810e0d
......@@ -291,7 +291,7 @@ switch($menu_mode) {
}
// enable or disable record
$sql = 'UPDATE '.K_TABLE_ANSWERS.' SET
answer_enabled=\''.$answer_enabled.'\',
answer_enabled=\''.intval($answer_enabled).'\',
answer_position='.F_zero_to_null($answer_position).'
WHERE answer_id='.$answer_id.'';
if(!$r = F_db_query($sql, $db)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment