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

Wrong second argument in external_format_value()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • STABLE backlog
    • Resource
    • None

    Description

      The second argument of external_format_value constructor should be integer - either VALUE_OPTIONAL, VALUE_DEFAULT or VALUE_REQUIRED.

       

      In 2 cases in master it's mistakenly set as string (description):

      mod/page/classes/external.php
      191:                            'contentformat' => new external_format_value('content', 'Content format'),

       

      tag/classes/external.php
      250:                        'descriptionformat' => new external_format_value(PARAM_INT, 'tag description format'),

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tmuras Tomasz Muras
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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