Add-ons
  1. Add-ons
  2. CONTRIB-3360

OU wiki: Should define capabilities used: error get_in_or_equal() does not accept empty arrays

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:
      LAMP- PHP 5.3.8-1
      Moodle 2.2.1 (Build: 20120109)
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_22_STABLE
    • Rank:
      37796

      Description

      moodle_database::get_in_or_equal() does not accept empty arrays

      Stack trace:

      line 595 of /lib/dml/moodle_database.php: coding_exception thrown
      line 6410 of /lib/accesslib.php: call to moodle_database->get_in_or_equal()
      line 7161 of /lib/accesslib.php: call to context_module->get_capabilities()
      line 69 of /admin/roles/lib.php: call to fetch_context_capabilities()
      line 261 of /admin/roles/lib.php: call to capability_table_base->__construct()
      line 191 of /admin/roles/permissions.php: call to permissions_table->__construct()

        Issue Links

          Activity

          philippe petitqueux created issue -
          Dan Marsden made changes -
          Field Original Value New Value
          Link This issue will be resolved by MDL-31360 [ MDL-31360 ]
          Sam Marshall made changes -
          Summary get_in_or_equal() does not accept empty arrays OU wiki: Should define capabilities used: error get_in_or_equal() does not accept empty arrays
          Sam Marshall made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Helen Foster made changes -
          Labels OU_wiki
          Helen Foster made changes -
          Component/s Module: OU wiki [ 10341 ]

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development