Details
-
Type:
Bug
-
Status: Done/Fixed
-
Priority:
Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.7.11
-
Fix Version/s: 4.7.13
-
Component/s: CiviReport
-
Labels:
-
Documentation Required?:None
-
Funding Source:Contributed Code
Description
_Warning: Invalid argument supplied for foreach() in /administrator/components/com_civicrm/civicrm/CRM/Report/Form/Contact/Relationship.php on line 596 _ if report is viewed via the Joomla front end.
The attached patch seems to solve the problem, but do you want a full pull request?
Stephen Palmstrom yes please, a PR would be helpful to the review/merge process. And could you please do 2 commits to separate the function changes from the comment cleanup?
In the beginning of your patch you remove ts() from the strings which will break translations of the form - can you explain why that was needed?