From 6bec40cfe0bf9e93b9f5979f50e8a602c17dc9f4 Mon Sep 17 00:00:00 2001 From: Rajesh Sundararajan Date: Fri, 6 Feb 2015 16:27:55 +0000 Subject: [PATCH] Disabled organisation type in profile for fancy tokens --- fancytokens.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fancytokens.php b/fancytokens.php index eb9dd2d..680fe48 100644 --- a/fancytokens.php +++ b/fancytokens.php @@ -81,7 +81,7 @@ function fancytokens_civicrm_tokens( &$tokens ){ } $type_array = explode( "," , $p_type); // Contributions Activity - if ( false == ( in_array("Participant", $type_array ) || in_array("Organization", $type_array ) || in_array("Membership", $type_array ) || in_array("Household", $type_array ) || in_array("Contributions", $type_array ) || in_array("Activity", $type_array ) )) { + if ( false == ( in_array("Participant", $type_array ) || in_array("Membership", $type_array ) || in_array("Household", $type_array ) || in_array("Contributions", $type_array ) || in_array("Activity", $type_array ) )) { $key = 'communitynews.standaloneprofile___'.$cur['id'] ; $label = $cur['title'].' (id: '.$cur['id'].') :: Forms';