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

Multiple checkboxes appear in teacherview.php

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.11
    • Fix Version/s: 2.3.1
    • Component/s: Module: Scheduler
    • Labels:
      None
    • Environment:
      version 1.2.2 of scheduler (downloaded in May 2011)
    • Workaround:
      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
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE

      Description

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

        Attachments

          Activity

            People

            Assignee:
            bostelm Henning Bostelmann
            Reporter:
            trobb Thomas Robb
            Participants:
            Component watchers:
            Valery Fremaux
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              9/Jul/12