Moodle
  1. Moodle
  2. MDL-3660

Path issue in add_teacher() in moodlelib.php

    Details

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

      Description

      In the add_teacher function in moodlelib.php on line 2676 has:

      /// Add forum subscriptions for new users

      require_once( '../mod/forum/lib.php');

      but should be :

      /// Add forum subscriptions for new users

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

        Activity

        Hide
        Martin Dougiamas added a comment -

        From Shane Elliott (shane at pukunui.com) Friday, 15 July 2005, 08:04 AM:

        Fixed in CVS.

        Thanks.

        Show
        Martin Dougiamas added a comment - From Shane Elliott (shane at pukunui.com) Friday, 15 July 2005, 08:04 AM: Fixed in CVS. Thanks.
        Hide
        Michael Blake added a comment -

        assign to a valid user

        Show
        Michael Blake added a comment - assign to a valid user

          People

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

            Dates

            • Created:
              Updated:
              Resolved: