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

Invalid variable name in scheduled_task::get_next_scheduled_time()

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.7
    • 2.7.1
    • 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
            David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              14/Jul/14