Permalink
Browse files

Bug #2084 - Choice module has no "save my choice" for admin

  • Loading branch information...
danmarsden
danmarsden committed Apr 1, 2005
1 parent 1c49ca9 commit bd3ba1ddaf973b845e91f385117a5389318a6beb
Showing with 4 additions and 4 deletions.
  1. +2 −2 mod/choice/report.php
  2. +2 −2 mod/choice/view.php
View
@@ -43,9 +43,9 @@
}
if ($currentgroup) {
- $users = get_group_users($currentgroup, "u.firstname ASC", '', 'u.id, u.picture, u.firstname, u.lastname');
+ $users = get_group_users($currentgroup, "u.firstname ASC", '', 'u.id, u.picture, u.firstname, u.lastname') + get_admins();
} else {
- $users = get_course_users($course->id, "u.firstname ASC", '', 'u.id, u.picture, u.firstname, u.lastname');
+ $users = get_course_users($course->id, "u.firstname ASC", '', 'u.id, u.picture, u.firstname, u.lastname') + get_admins();
}
if (!$users) {
View
@@ -172,9 +172,9 @@
print_heading(get_string("responses", "choice"));
if ($currentgroup) {
- $users = get_group_users($currentgroup, "u.firstname ASC", '', 'u.id, u.picture, u.firstname, u.lastname');
+ $users = get_group_users($currentgroup, "u.firstname ASC", '', 'u.id, u.picture, u.firstname, u.lastname') + get_admins();
} else {
- $users = get_course_users($course->id, "u.firstname ASC", '', 'u.id, u.picture, u.firstname, u.lastname');
+ $users = get_course_users($course->id, "u.firstname ASC", '', 'u.id, u.picture, u.firstname, u.lastname') + get_admins();
}

0 comments on commit bd3ba1d

Please sign in to comment.