Commit 8a6567d7 authored by eileen's avatar eileen

CRM-19490 change 'view' action check to '&' to also pick up 'preview' action

parent f02f3e59
......@@ -89,7 +89,7 @@
{include file="CRM/Profile/Form/GreetingType.tpl"}
{elseif ($profileFieldName eq 'group' && $form.group) || ($profileFieldName eq 'tag' && $form.tag)}
{include file="CRM/Contact/Form/Edit/TagsAndGroups.tpl" type=$profileFieldName title=null context="profile"}
{elseif $field.is_datetime_field && $action == 4}
{elseif $field.is_datetime_field && $action & 4}
{assign var="date_value" value=$form.$profileFieldName.value}
<span class="crm-frozen-field">
{$date_value|date_format:"%Y-%m-%d"|crmDate:$config->dateformatshortdate}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment