Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-3662

HotPot restore fails: undefined $DB

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.9.19
    • 1.9.18
    • Module: HotPot
    • None
    • Any
    • Hide

      use attached mod/hotpot/restorelib.php

      Show
      use attached mod/hotpot/restorelib.php
    • Easy
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE

      Attempt to restore cousre containing HotPot activities fails with fatal error: undefined $DB

      CAUSE: use of $DB at line 303 in mod/hotpot/restorelib.php.
      SOLUTION: use $db instead (see lines 301 - 302 in attached file)

            danmarsden Dan Marsden
            xxxxxxx Gordon Bateson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.