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

Call to undefined method mod_dataform\helper\calendar_event::load().

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.9
    • Fix Version/s: 2.8.5
    • Component/s: Set: Dataform
    • Labels:
      None

      Description

      This happens on instance update where timeavailable or timedue are already set. The particular call to calendar_event on line 48 mod/dataform/classes/helper/calendar_event is not properly namespaced.

      It's a missing backslash at
      mod/dataform/classes/helper/calendar_event.php on line 48. Should be:

      $calendarevent = \calendar_event::load($event->id);
      

        Attachments

          Activity

            People

            Assignee:
            itamart Itamar Tzadok
            Reporter:
            itamart Itamar Tzadok
            Tester:
            Itamar Tzadok
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              10/Mar/15