Merge pull request #4380 from atif-shaikh/CRM-15301
[civicrm-core.git] / templates / CRM / Form / body.tpl
index fab02484997aafb739b6a4a3e0426adc096d722b..d951907da040ec0eac1ae216e1ff3d54a235a279 100644 (file)
@@ -23,8 +23,6 @@
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
 *}
-{include file="CRM/common/stateCountry.tpl"}
-
 {if $form.javascript}
   {$form.javascript}
 {/if}
@@ -33,7 +31,7 @@
   <div>{$form.hidden}</div>
 {/if}
 
-{if $snippet neq 'json' and !$suppressForm and count($form.errors) gt 0}
+{if ($snippet !== 'json') and !$suppressForm and count($form.errors) gt 0}
    <div class="messages crm-error">
        <div class="icon red-icon alert-icon"></div>
      {ts}Please correct the following errors in the form fields below:{/ts}