Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-20579

$student is not always defined in workshop.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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

      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.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            mudrd8mz David Mudrák added a comment -

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

            Fixed in CVS.

            Show
            mudrd8mz David Mudrák 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:
                  Fix Release Date:
                  21/Oct/09