Moodle
  1. Moodle
  2. MDL-4586

Activity Modules calls undefined function: get_all_mods

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.5.3
    • Fix Version/s: None
    • Component/s: Blocks
    • Labels:
      None
    • Environment:
      All
    • Database:
      Any
    • Affected Branches:
      MOODLE_15_STABLE
    • Rank:
      14639

      Description

      Activity Modules calls undefined function get_all_mods in file http://moodle.cvs.sourceforge.net/moodle/moodle/blocks/activity_modules/block_activity_modules.php

      The error occured while in admin and was updating moodle new a newer version of 1.5.3

        Activity

        Hide
        Martin Dougiamas added a comment -

        From Mark Nielsen (man15 at humboldt.edu) Saturday, 14 January 2006, 03:24 AM:

        Fixed the bug by adding the following line before the call to get_all_mods:

        require_once($CFG->dirroot.'/course/lib.php');

        From Jon Papaioannou (pj at moodle.org) Sunday, 15 January 2006, 01:12 AM:

        Thanks! I probably shouldn't commit stuff before going to bed... :-/

        Show
        Martin Dougiamas added a comment - From Mark Nielsen (man15 at humboldt.edu) Saturday, 14 January 2006, 03:24 AM: Fixed the bug by adding the following line before the call to get_all_mods: require_once($CFG->dirroot.'/course/lib.php'); From Jon Papaioannou (pj at moodle.org) Sunday, 15 January 2006, 01:12 AM: Thanks! I probably shouldn't commit stuff before going to bed... :-/
        Hide
        Michael Blake added a comment -

        Temporary transition to reassign bug to "pj".

        Show
        Michael Blake added a comment - Temporary transition to reassign bug to "pj".
        Hide
        Michael Blake added a comment -

        Re-closing bugs after re-assigning to "pj".

        Show
        Michael Blake added a comment - Re-closing bugs after re-assigning to "pj".

          People

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

            Dates

            • Created:
              Updated:
              Resolved: