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>
Fri, 26 Nov 2021 01:40:03 +0000 (14:40 +1300)
commitb0d8f42f15bf20bd7334653c7b26fd795eed0148
treeebfb6ed6ee7e0c1245a8a912a7b8cafce7858640
parentf746d78e76cb00fff7fd65732715b90663c6b020
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