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

Invalid variable name in scheduled_task::get_next_scheduled_time()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 2.7.1
    • 2.7
    • Libraries

    Description

      I just ran into a PHP notice displayed when trying to set up a task executed on weekends only:

      Undefined property: core\task\scheduled_test_task::$dayofmonth
      

      This seems to be just a typo as the correct variable should be just $day.

      Attachments

        Activity

          People

            mudrd8mz David Mudrák (@mudrd8mz)
            mudrd8mz David Mudrák (@mudrd8mz)
            Sam Marshall Sam Marshall
            Marina Glancy Marina Glancy
            Simey Lameze Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Clockify

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