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

Invalid variable name in scheduled_task::get_next_scheduled_time()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7
    • Fix Version/s: 2.7.1
    • Component/s: Libraries
    • Labels:

      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

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                14/Jul/14