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

            Assignee:
            mudrd8mz David Mudrák (@mudrd8mz)
            Reporter:
            mudrd8mz David Mudrák (@mudrd8mz)
            Peer reviewer:
            Sam Marshall
            Integrator:
            Marina Glancy
            Tester:
            Simey Lameze
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

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