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

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

XMLWordPrintable

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

      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).

            stronk7 Eloy Lafuente (stronk7)
            lewis.carroll David
            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.