notices
authordemeritcowboy <demeritcowboy@hotmail.com>
Mon, 25 Sep 2023 19:54:51 +0000 (15:54 -0400)
committerdemeritcowboy <demeritcowboy@hotmail.com>
Mon, 25 Sep 2023 19:54:51 +0000 (15:54 -0400)
templates/CRM/Core/Form/Field.tpl

index 2792c3a96cf19cb9c492cff15a966bad20e805df..a502b4eb99baf09d456beb23f408ebf918da5f7c 100644 (file)
@@ -16,7 +16,7 @@
   </td>
   <td>
     {if $form.$fieldName.html}{$form.$fieldName.html}{else}{$fieldSpec.place_holder}{/if}{if array_key_exists('post_html_text', $fieldSpec) && $fieldSpec.post_html_text}{$fieldSpec.post_html_text}{/if}<br />
-    {if $fieldSpec.description}<span class="description">{$fieldSpec.description}</span>{/if}
+    {if array_key_exists('description', $fieldSpec) && $fieldSpec.description}<span class="description">{$fieldSpec.description}</span>{/if}
     {if array_key_exists('documentation_link', $fieldSpec) && $fieldSpec.documentation_link.page}{docURL page=$fieldSpec.documentation_link.page resource=$fieldSpec.documentation_link.resource}{/if}
   </td>
 {/if}