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

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

    Details

      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 . "}

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              skodak Petr Skoda added a comment -

              thanks for the report

              Show
              skodak Petr Skoda added a comment - thanks for the report
              Hide
              poltawski Dan Poltawski added a comment -

              Waiting for MDL-32400

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

              Thanks Petr, this has been integrated now

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

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

              Show
              abgreeve Adrian Greeve added a comment - Tested in master. No problems relating to this issue in the unit test report. Thanks.
              Hide
              poltawski 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
              poltawski 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-moodle Jeroen Vi added a comment -

              Woohoo!

              Show
              jeroen-moodle Jeroen Vi added a comment - Woohoo!

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    14/May/12