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

invalid course format "site" when visiting recent activites page

    XMLWordPrintable

Details

    Description

      We have used something like

      $sectiontitle = get_string('sectionname', 'format_'.$COURSE->format);

      in course/recent_form.php
      This works all good as long as we are visiting the recent activity page for a specific course, but when moodle/course/recent.php?id=1 (all recent activities page) it generates following error

      invalid get_string() identifier: 'sectionname' or component 'format_site'. Perhaps you are missing $string['sectionname'] = ''; in moodle/course/format/site/lang/en/format_site.php?

      Thanks

      Attachments

        Issue Links

          Activity

            People

              rajeshtaneja Rajesh Taneja
              ankit_frenz Ankit Agarwal
              Ankit Agarwal Ankit Agarwal
              Dan Poltawski Dan Poltawski
              Adrian Greeve Adrian Greeve
              Amaia Anabitarte, Carlos Escobedo, Laurent David, Sabina Abellan, Sara Arjona (@sarjona)
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10/Sep/12