Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Won't Fix
-
Affects Version/s: 3.4.0, 4.0.0, 4.1.0, Unscheduled
-
Fix Version/s: 4.4.0
-
Component/s: Core CiviCRM
-
Labels:None
Description
In CRM/Core/BAO/UFGroup.php there is a line that says:
// FIXME: take the below out of the foreach loop
The attached patch implements the fix by moving the loop-invariant content to a $defaults variable.