Moodle
  1. Moodle
  2. MDL-20579

$student is not always defined in workshop.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.5
    • Fix Version/s: 1.9.6
    • Component/s: Workshop
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE
    • Rank:
      31911

      Description

      At row 109 of view.php of the current workshop module FOR MOODLE 1.9.x
      the variable $student is undefined.
      I read the code and I am not able to understand how it can get a value.

        Activity

        Hide
        David Mudrak added a comment -

        Thanks for spotting this Daniele. $student is a mistake, $USER is expected to be passed.

        Fixed in CVS.

        Show
        David Mudrak added a comment - Thanks for spotting this Daniele. $student is a mistake, $USER is expected to be passed. Fixed in CVS.

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: