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

undefined courseid in portfolio_export_pagesetup()

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Portfolio
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      function portfolio_export_pagesetup($PAGE, $caller) {
      // for build navigation
      if (!$course = $caller->get('course'))

      { $course = $courseid; }

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            mjollnir Penny Leach added a comment -

            Petr - what did you do to trigger this case? I mean I can see that $courseid is unset, but that should never actually happen as far as I know, can you give me steps to reproduce?

            Show
            mjollnir Penny Leach added a comment - Petr - what did you do to trigger this case? I mean I can see that $courseid is unset, but that should never actually happen as far as I know, can you give me steps to reproduce?
            Hide
            skodak Petr Skoda added a comment -

            hehe, I did not trigger it, my IDE found it

            Show
            skodak Petr Skoda added a comment - hehe, I did not trigger it, my IDE found it
            Hide
            mjollnir Penny Leach added a comment -

            fixed in cvs. thanks petr.

            Show
            mjollnir Penny Leach added a comment - fixed in cvs. thanks petr.
            Hide
            skodak Petr Skoda added a comment -

            thanks!

            Show
            skodak Petr Skoda added a comment - thanks!

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  24/Nov/10