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

Not necessari condition in core_course_create_categories (of $category['name'])

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • None
    • 2.3
    • Web Services
    • None
    • MOODLE_23_STABLE

    Description

      In the Web Service core_course_create_categories appears the condition:

      // Check name.
      if (textlib::strlen($category['name'])>30) {
      throw new moodle_exception('categorytoolong');
      }

      I think that isn't necessari because the field in BD is varchar(255).

      Attachments

        Issue Links

          Activity

            People

              stronk7 Eloy Lafuente (stronk7)
              lewis.carroll David
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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