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

undefined variable $caller

    XMLWordPrintable

    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

      in lib/portfolio/caller.php

      public final function supported_formats() {
      $basic = $this->base_supported_formats();
      if (empty($this->supportedformats))

      { $specific = array(); }

      else if (!is_array($this->supportedformats))

      { debugging(get_class($caller) . ' has set a non array value of member variable supported formats - working around but should be fixed in code'); $specific = array($this->supportedformats); }

      else {

        Attachments

          Activity

            People

            • Assignee:
              mjollnir Penny Leach
              Reporter:
              skodak Petr Skoda
              Tester:
              Nobody
              Participants:
              Component watchers:
              Jake Dallimore, Jun Pataleta
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

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