Moodle
  1. Moodle
  2. MDL-31449

Editing permissions in feedback module on front page causes exception

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.2.1
    • Fix Version/s: 2.2.3, 2.3
    • Component/s: Feedback
    • Labels:
    • Environment:
      CentOS / Apache
    • Rank:
      37977

      Description

      Coding error detected, it must be fixed by a programmer: 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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: