From 294224b6cb5eefffc704d655238ab8b35a07b5bc Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Fri, 23 Sep 2022 13:57:47 +1200 Subject: [PATCH] Smarty notice fix --- templates/CRM/Admin/Form/Setting/Localization.tpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/CRM/Admin/Form/Setting/Localization.tpl b/templates/CRM/Admin/Form/Setting/Localization.tpl index b27ca04611..4e18420596 100644 --- a/templates/CRM/Admin/Form/Setting/Localization.tpl +++ b/templates/CRM/Admin/Form/Setting/Localization.tpl @@ -19,7 +19,7 @@ {$form.lcMessages.label} {$form.lcMessages.html} - {if !empty($form.languageLimit)} + {if array_key_exists('languageLimit', $form)} {$form.languageLimit.label} {$form.languageLimit.html}
@@ -37,7 +37,7 @@ {$settings_fields.inheritLocale.description} - {if empty($form.languageLimit)} + {if !array_key_exists('languageLimit', $form)} {$form.uiLanguages.label} {$form.uiLanguages.html} @@ -115,7 +115,7 @@

{ts}Multiple Languages Support{/ts}

- {if !empty($form.makeSinglelingual)} + {if array_key_exists('makeSinglelingual', $form)} -- 2.25.1
{ts 1="http://documentation.civicrm.org"}This is a multilingual installation. It contains certain schema differences compared to regular installations of CiviCRM. Please refer to the documentation for details.{/ts}