Moodle
  1. Moodle
  2. MDL-32437

db query to table: name without prefix (e.g. mdl_) - function grade_get_gradable_activities

    Details

    • Rank:
      39311

      Description

      This function queries a table in the moodle db, without adding the prefix to the tablename.

      in file /grade/querylib.php:

      in function grade_get_gradable_activities:

      around line: 328

      change:

      {$modulename}

      to:

      {" . $modulename . "}

        Issue Links

          Activity

          Hide
          Petr Škoda added a comment -

          thanks for the report

          Show
          Petr Škoda added a comment - thanks for the report
          Hide
          Dan Poltawski added a comment -

          Waiting for MDL-32400

          Show
          Dan Poltawski added a comment - Waiting for MDL-32400
          Hide
          Dan Poltawski added a comment -

          Thanks Petr, this has been integrated now

          Show
          Dan Poltawski added a comment - Thanks Petr, this has been integrated now
          Hide
          Adrian Greeve added a comment -

          Tested in master. No problems relating to this issue in the unit test report.
          Thanks.

          Show
          Adrian Greeve added a comment - Tested in master. No problems relating to this issue in the unit test report. Thanks.
          Hide
          Dan Poltawski added a comment -

          Bonza mate!

          Your changes have made it into the Moodle release! Its time to celebrate! Put a shrimp on the barbie and grab a stubby.

          Hooroo

          Show
          Dan Poltawski added a comment - Bonza mate! Your changes have made it into the Moodle release! Its time to celebrate! Put a shrimp on the barbie and grab a stubby. Hooroo
          Hide
          Jeroen Vi added a comment -

          Woohoo!

          Show
          Jeroen Vi added a comment - Woohoo!

            People

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

              Dates

              • Created:
                Updated:
                Resolved: