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

Tracking forum

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.8.5, 1.9
    • 1.8.3, 1.8.4
    • Forum
    • None
    • PostgreSQL
    • MOODLE_18_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE

      In the page that is in charge of generate the forums of a course (mod/forum/index.php), if we have the tracking disable, in the next learningforum. the link that we use to disable the tracking is not working. It gets the id's of the previous forum.

      To fix the problem
      we have to add the following code in the file index.php

          • 353,356 ****
          • 353,359 ----

      if ($forum->trackingtype == FORUM_TRACKING_OPTIONAL) {
      $trackedlink = '<a title="'.$strnotrackforum.'" href="settracking.php?id='.$forum->id.'">'.$stryes.'</a>';
      }
      + else

      { + $trackedlink = $stryes; + }

      } else

      { $unreadlink = '-'; $trackedlink = '<a title="'.$strtrackforum.'" href="settracking.php?id='.$forum->id.'">'.$strno.'</a>'; }

      }

            skodak Petr Skoda
            fjrincon Jesús Rincón
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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