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

workshop module list of assignments uses deprecate print_table() call [patch]

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.0.1
    • 2.0
    • Workshop
    • None
    • Apache, PHP 5.3.3-1ubuntu9, Postgres
    • PostgreSQL
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE
    • Easy

      When viewing the list of workshop assignments from the activities block, a deprecation warning is issued about using print_html() instead of html_writer::table().

      Steps to reproduce:
      1) create a course with one or more workshop assignments
      2) click on the workshop link in the activities block of the course page
      3) view the deprecation warning (when debugging is on)

      Attached is a best guess trivial patch that uses the suggested interface change. All output seems to be correct after the patch is applied.

            mudrd8mz David Mudrák (@mudrd8mz)
            paul.ortman Paul Ortman (Inactive)
            Nobody Nobody (Inactive)
            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.