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

Database Activity - menu field - value of 0 in the list

XMLWordPrintable

    • MOODLE_27_STABLE
    • Hide

      Use a value like 'empty/none' instead of 0

      Show
      Use a value like 'empty/none' instead of 0

      Moodle version 2.7.1 PHP version 5.4.31 - in menu field, if there is a value of 0 in the option list, then the value is not displayed,

      code is mod\data\field\menu\field.class.php, in function display_add_field

      This line does not work - if ($option) {

      when $option = 0.

      Variety of coding ways to correct this...

            Unassigned Unassigned
            shediac2 Derek Henderson
            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.