CRM-18196 Track mailto: links in CiviMail
authorJKingsnorth <john@johnkingsnorth.co.uk>
Wed, 9 Mar 2016 14:42:40 +0000 (14:42 +0000)
committerJKingsnorth <john@johnkingsnorth.co.uk>
Wed, 9 Mar 2016 14:42:40 +0000 (14:42 +0000)
CRM/Mailing/BAO/Mailing.php

index 58d4f00de22f4205608eb4ba76497c8c5194ee1c..33e809e832f6c53546f73593518947b878823bdc 100644 (file)
@@ -615,7 +615,7 @@ ORDER BY   i.contact_id, i.{$tempColumn}
 
     $patterns = array();
 
-    $protos = '(https?|ftp)';
+    $protos = '(https?|ftp|mailto)';
     $letters = '\w';
     $gunk = '\{\}/#~:.?+=&;%@!\,\-\|\(\)\*';
     $punc = '.:?\-';