Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.6.7
-
Fix Version/s: 4.6.9
-
Component/s: None
-
Labels:None
-
Documentation Required?:Developer Doc
-
Funding Source:Core Team Funds
Description
I'm not 100% sure if this smarty syntax has been outlawed or Contribute Query is just being overzealous but this smarty call was valid in 4.4
{crmAPI entity="relationship" action="get" var="relationships" contact_id=$contactId} {if $relationships.values} {foreach from=$relationships.values item=rel}// do stuff
{/foreach} {/if}In 4.6 we get the error "We did not recognize the search field: var. Please check and fix your contribution related smart groups."
Same for the field action