Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.7.3
-
Fix Version/s: None
-
Component/s: CiviReport
-
Labels:
-
Documentation Required?:None
-
Funding Source:Contributed Code
Description
When running under IIS in PHP developer mode, running a relationship report gave the following warnings.
PHP Warning: Invalid argument supplied for foreach() in D:\CiviCRM_Custom.git\Custom\Code\CRM\Report\Form\Contact\Relationship.php on line 582
PHP Warning: strlen() expects parameter 1 to be string, array given in D:\CiviCRM_Custom.git\joomla\administrator\components\com_civicrm\civicrm\CRM\Report\Form.php on line 1894
The first was caused by the parameter not being an array, and the second because it was. II introduced logic to check for the two conditions and attach patch files against their 4.7.3 versions.