Merged tidyup of indenting

This commit is contained in:
moodler
2008-02-15 02:43:38 +00:00
parent a5f77de6b9
commit 392763dfda
+5 -5
View File
@@ -28,12 +28,12 @@
print_error('badcontext');
}
if ($action == 'delchoice') {
if ($answer = get_record('choice_answers', 'choiceid', $choice->id, 'userid', $USER->id)) {
//print_object($answer);
delete_records('choice_answers', 'id', $answer->id);
if ($action == 'delchoice') {
if ($answer = get_record('choice_answers', 'choiceid', $choice->id, 'userid', $USER->id)) {
//print_object($answer);
delete_records('choice_answers', 'id', $answer->id);
}
}
}
/// Submit any new data if there is any