Template notice cleanup - make sane
authorEileen McNaughton <emcnaughton@wikimedia.org>
Fri, 26 Nov 2021 01:40:03 +0000 (14:40 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Sat, 27 Nov 2021 20:34:17 +0000 (09:34 +1300)
commit8d5414db501d5a8a0a6823ca7df163f4b67ea75c
treea75870e020fc88f7393e241499b08e40cdf26098
parentf294e7e8e22d30b48bfe5bf31c01c2cc6b2e1541
Template notice cleanup - make sane

The CRM/Custom/Form/CustomData.tpl is called with formEdit set from
1 place - CRM/Contact/Form/Edit/CustomData.tpl - when this is the
case only 1 line of code is shared with the code path if
formEdit is not true/ passed in. This is silly & can be avoided
templates/CRM/Contact/Form/Edit/CustomData.tpl
templates/CRM/Custom/Form/CustomData.tpl