Details
-
Type: Sub-task
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.4.0, 4.0.0, 4.1.0, Unscheduled
-
Fix Version/s: 4.2.0
-
Component/s: Core CiviCRM
-
Labels:None
Description
Either ensure that isDuplicate template variable always gets assigned, or modify templates to tolerate an unassigned isDuplicate variable.
The two attached patches are redundant; I'd prefer the first approach, but the second is smaller and surer.
diffstat:
CRM/Contact/Form/Contact.php | 3 ++-
CRM/Profile/Form.php | 5 +++--
templates/CRM/Contact/Form/Contact.tpl | 2 +-
templates/CRM/Profile/Form/Dynamic.tpl | 2 +-
4 files changed, 7 insertions, 5 deletions