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

Coding error detected, it must be fixed by a programmer: moodle_database::get_in_or_equal() does not accept empty arrays

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.1.1
    • Fix Version/s: None
    • Component/s: Enrolments
    • Labels:
      None
    • Environment:
      Debian 6.0.2,
    • Database:
      MySQL
    • Testing Instructions:
      Hide

      I removed a User from a Roll in a Course categories

      Show
      I removed a User from a Roll in a Course categories
    • Affected Branches:
      MOODLE_21_STABLE

      Description

      Stack trace: •line 588 of /lib/dml/moodle_database.php: coding_exception thrown
      •line 114 of /enrol/category/locallib.php: call to moodle_database->get_in_or_equal()
      •line ? of unknownfile: call to enrol_category_handler::role_unassigned()
      •line 296 of /lib/eventslib.php: call to call_user_func()
      •line 518 of /lib/eventslib.php: call to events_dispatch()
      •line 2746 of /lib/accesslib.php: call to events_trigger()
      •line 2693 of /lib/accesslib.php: call to role_unassign_all()
      •line 129 of /admin/roles/assign.php: call to role_unassign()

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              skodak Petr Skoda
              Reporter:
              martin.gertsch Martin Gertsch
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: