Moodle

$student is not always defined in workshop.

Details

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

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

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: