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

typo in mod/forum/restorelib.php prevents grouped discussions from being accessible to group after a restore.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.6.4, 1.7, 1.8
    • 1.5.3, 1.6.1
    • Forum
    • None
    • All. This is a PHP typo!
    • MySQL
    • MOODLE_15_STABLE, MOODLE_16_STABLE
    • MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE

      see mod/forum/restorelib.php line 219 ish. You should see this...

      $group = backup_getid($restore->backup_unique_code,"group",$discussion->groupid);

      ...it should be this...

      $group = backup_getid($restore->backup_unique_code,"groups",$discussion->groupid);

      ...note: groupS instead of group!

            vyshane Vy-Shane Sin Fat
            sc283 Si Carter
            Nobody Nobody
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.