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

Undefined variable: coursecompetency warning in \tool_lp\api::get_user_competency_in_course()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: None
    • Component/s: Competencies
    • Labels:
      None
    • Story Points:
      1
    • Sprint:
      CBE Sprint 6

      Description

      There is an undefined variable $coursecompetency in \tool_lp\api::get_user_competency_in_course() (see here. I think that it should be $competency

      I am not sure how to trigger the issue but, by setting $found to false, the following will be shown in the user course competency page.

      Notice: Undefined variable: coursecompetency in /home/jun/moodles/cbe/moodle/admin/tool/lp/classes/api.php on line 1130
      

        Attachments

          Activity

            People

            • Assignee:
              taboubii Issam Taboubi
              Reporter:
              jpataleta Jun Pataleta
              Peer reviewer:
              Jun Pataleta
              Participants:
              Component watchers:
              Damyon Wiese, Jean-Philippe Gaudreau, Steve Massicotte, Serge Gauthier, Issam Taboubi, Adrian Greeve, Mihail Geshoski, Peter Dias
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: