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

    XMLWordPrintable

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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              skodak Petr Skoda
              Reporter:
              jeroen-moodle Jeroen Vi
              Integrator:
              Dan Poltawski
              Tester:
              Adrian Greeve
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

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