Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-2995

Multiple checkboxes appear in teacherview.php

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.3.1
    • 1.9.11
    • Module: Scheduler
    • None
    • version 1.2.2 of scheduler (downloaded in May 2011)
    • Hide

      Add unset($checkbox) within the loop that constructs the displayed lines, around line 650

      foreach($appointedstudents as $appstudent){
      $student = get_record('user', 'id', $appstudent->studentid);
      $picture = print_user_picture($appstudent->studentid, $course->id, $student->picture, 0, true, true);
      $name = "<a href=\"view.php?what=viewstudent&id={$cm->id}&studentid={$student->id}&course={$scheduler->course}&order=DESC\">".fullname($student).'</a>';
      unset($checkbox);
      /// formatting grade

      Show
      Add unset($checkbox) within the loop that constructs the displayed lines, around line 650 foreach($appointedstudents as $appstudent){ $student = get_record('user', 'id', $appstudent->studentid); $picture = print_user_picture($appstudent->studentid, $course->id, $student->picture, 0, true, true); $name = "<a href=\"view.php?what=viewstudent&id={$cm->id}&studentid={$student->id}&course={$scheduler->course}&order=DESC\">".fullname($student).'</a>'; unset($checkbox); /// formatting grade
    • MOODLE_19_STABLE
    • MOODLE_23_STABLE

      The checkboxes continue to accumulate until a timeslot where no reservation has been made is encountered. See the attached graphic.

            bostelm Henning Bostelmann
            trobb Thomas Robb
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.