Use empty not isset in drop.tpl
authorEileen McNaughton <emcnaughton@wikimedia.org>
Fri, 29 Oct 2021 01:06:39 +0000 (14:06 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 1 Nov 2021 20:54:36 +0000 (09:54 +1300)
commit61940bbfc430a264342967471dced0f948e2aef3
treea9563981baf9de9045680bef10f0c375c78a0820
parent86dda4712192b5578a6cef78590f52200e6b8da3
Use empty not isset in drop.tpl

On experimenting a little with smarty escaping it turns out that isset is gonna be
a lot more painful than empty - we should avoid where we can. In this case it
is passed in as TRUE or not at all (from schema.tpl) so an empty check is just fine
CRM/Core/CodeGen/Schema.php
xml/templates/drop.tpl
xml/templates/schema.tpl