Use null variables rather than isset in Core_Block
authorEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 1 Nov 2021 21:23:03 +0000 (10:23 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 1 Nov 2021 21:23:03 +0000 (10:23 +1300)
commitfaed105bac8ca8c44a860109437f3e2191310a5e
tree5c084aa858e97a99e882aad84fc0529b2930f6d6
parente480212d852c9046df52190b6743ee291597900d
Use null variables rather than isset in Core_Block

This removes an isset from LangSwitch and some enotices that we see if escape on output is enabled.

'langSwitch' is normally always assigned by the smarty initialize but for some reason not via this path
CRM/Core/Block.php
CRM/Core/Smarty.php
templates/CRM/Block/LangSwitch.tpl