CRM-17030 Fix to Event Confirmation template to improve email deliverability
authorlsmithgo <lionel@smithgordon.com>
Sat, 15 Aug 2015 15:28:32 +0000 (16:28 +0100)
committerlsmithgo <lionel@smithgordon.com>
Sat, 15 Aug 2015 15:28:32 +0000 (16:28 +0100)
commitbaef101a86e518fe342a83af78a8fe973a2cdd9c
tree61743c9221477a0c88c81d6aca12b6c303afce26
parentc719b983701329c4c508ae07b5b75d6f93add682
CRM-17030 Fix to Event Confirmation template to improve email deliverability

The Google API is only required by the webpages, not the emails.  So the fix is simply to move the <script> reference into an IF statement that only applies if SocialNetworks is being used on a webpage.
templates/CRM/common/SocialNetwork.tpl