X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=xml%2Ftemplates%2Fdao.tpl;h=b9cebe59abb6bce3025e795602d547f739ce6646;hb=40143ea4fc4db20c66313725ff0641144a46500f;hp=e9d6f36eca7ede02f9d80ea0c21175cb19de0261;hpb=521470d0c5b9b847453b62d3913b3bcfc17d9fe4;p=civicrm-core.git diff --git a/xml/templates/dao.tpl b/xml/templates/dao.tpl index e9d6f36eca..b9cebe59ab 100644 --- a/xml/templates/dao.tpl +++ b/xml/templates/dao.tpl @@ -146,6 +146,9 @@ class {$table.className} extends CRM_Core_DAO {ldelim} {if $field.serialize} 'serialize' => self::SERIALIZE_{$field.serialize|strtoupper}, {/if} +{if $field.uniqueTitle} + 'unique_title' => {$tsFunctionName}('{$field.uniqueTitle}'), +{/if} {if $field.html} 'html' => array( {foreach from=$field.html item=val key=key}