Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-16324

Scheduled jobs won't accept zero-valued parameters

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.6.2
    • Fix Version/s: 4.6.3
    • Component/s: Core CiviCRM
    • Labels:
    • Documentation Required?:
      None

      Description

      In 4.6.2 a parameter such as

      parameter=0

      is ignored. The reason is that CRM_Core_ScheduledJob::__construct() uses empty() to decide if a parameter has been set, and '0' fails that test.

        Attachments

          Activity

            People

            • Assignee:
              jitendra.purohit Jitendra Purohit
              Reporter:
              ken Ken West
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: