Skip to content
Browse files

Fixes for Bug #3876, Bug #3816

  • Loading branch information...
1 parent 5fb64ae commit 3ddb684e5776924d432762b815705414e1370b4d danmarsden committed Aug 14, 2005
Showing with 2 additions and 6 deletions.
  1. +1 −3 mod/choice/report.php
  2. +1 −3 mod/choice/view.php
View
4 mod/choice/report.php
@@ -41,15 +41,13 @@
}
if ($currentgroup) {
- $users = get_group_users($currentgroup, "u.firstname ASC", '', 'u.id, u.picture, u.firstname, u.lastname') + get_admins();
+ $users = get_group_users($currentgroup, "u.firstname ASC", '', 'u.id, u.picture, u.firstname, u.lastname');
} else {
$users = get_course_users($course->id, "u.firstname ASC", '', 'u.id, u.picture, u.firstname, u.lastname') + get_admins();
}
if (!$users) {
print_heading(get_string("nousersyet"));
- print_footer($course);
- exit;
}
if ($allresponses = get_records("choice_answers", "choiceid", $choice->id)) {
View
4 mod/choice/view.php
@@ -241,16 +241,14 @@
print_heading(get_string("responses", "choice"));
if ($currentgroup) {
- $users = get_group_users($currentgroup, "u.firstname ASC", '', 'u.id, u.picture, u.firstname, u.lastname') + get_admins();
+ $users = get_group_users($currentgroup, "u.firstname ASC", '', 'u.id, u.picture, u.firstname, u.lastname');
} else {
$users = get_course_users($course->id, "u.firstname ASC", '', 'u.id, u.picture, u.firstname, u.lastname') + get_admins();
}
if (!$users) {
print_heading(get_string("nousersyet"));
- print_footer($course);
- exit;
}
if ($allresponses = get_records("choice_answers", "choiceid", $choice->id)) {

0 comments on commit 3ddb684

Please sign in to comment.
Something went wrong with that request. Please try again.