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

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

                Dates

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