Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-5204

Call to undefined function cr_make_categories_list() when editing a category report

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6.4
    • Fix Version/s: None
    • Labels:
      None
    • Affected Branches:
      MOODLE_26_STABLE

      Description

      When I am editing a category report:
      https://mymoodle.org.ac.uk/blocks/configurable_reports/editcomp.php?id=3&comp=conditions
      and choose parent category from the drop-down list I get a blank page:
      https://mymoodle.org.ac.uk/blocks/configurable_reports/editplugin.php?id=3&comp=conditions&pname=parentcategory
      Apache error log displays:
      PHP Fatal error: Call to undefined function cr_make_categories_list() in .../blocks/configurable_reports/components/conditions/parentcategory/form.php on line 42, referer: .../blocks/configurable_reports/editcomp.php?id=3&comp=conditions&courseid=1

      I see that a function called cr_cr_make_categories_list has been defined in locallib.php. Is there a typo in the name

        Attachments

          Activity

            People

            Assignee:
            jleyva Juan Leyva
            Reporter:
            ccaajoa Jo Matthews
            Participants:
            Component watchers:
            Juan Leyva, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: