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

Bad null test in CRM_Contact_BAO_GroupContact::getGroupContacts() for offset and row count makes it impossible to supply 0 for offset.

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.8
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      Was using $offset != null && $row_count != null, should have been !is_null($offset)...

      using != null will return false if a 0 is passed in.

      Fixed in trunk

        Attachments

          Activity

            People

            • Assignee:
              kiran.jagtap Kiran Jagtap
              Reporter:
              jacobsingh Jacob Singh
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: