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

Names of reports in Manage Reports are not processed through Moodle filters

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.10
    • Fix Version/s: None
    • Labels:
      None
    • Plugin Version:
      2.3.7
    • Affected Branches:
      MOODLE_27_STABLE

      Description

      You did a great job of processing report names through the Moodle filters but missed one spot in managereport.php:

      Was:

      $table->data[] = array('<a href="viewreport.php?id='.$r->id.'">'.$r->name.'</a>',$coursename,get_string('report_'.$r->type,'block_configurable_reports'), $owner, $editcell, $download);
      

      Change to:

      $table->data[] = array('<a href="viewreport.php?id='.$r->id.'">'.format_string($r->name).'</a>',$coursename,get_string('report_'.$r->type,'block_configurable_reports'), $owner, $editcell, $download);
      

      Let me know if you have any questions.

      Best regards,

      Michael Milette

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: