Tpl cleanup
authorColeman Watts <coleman@civicrm.org>
Tue, 15 May 2018 16:49:58 +0000 (12:49 -0400)
committerColeman Watts <coleman@civicrm.org>
Tue, 15 May 2018 16:49:58 +0000 (12:49 -0400)
xml/templates/dao.tpl

index 9d579be6239c08758929d21beecd2f74a763601e..9c39ce74086c00c4ac8d26f9fdcdc19e5c25d1f0 100644 (file)
@@ -137,7 +137,7 @@ class {$table.className} extends CRM_Core_DAO {ldelim}
   'table_name' => '{$table.name}',
   'entity' => '{$table.entity}',
   'bao' => '{$table.bao}',
-  'localizable' => {if ($field.localizable)}{1}{else}{0}{/if},
+  'localizable' => {if $field.localizable}1{else}0{/if},
 
 {if $field.FKClassName}
                       'FKClassName' => '{$field.FKClassName}',