CRM-12930 related small fix
authormonishdeb <monish.deb@webaccess.co.in>
Thu, 8 Aug 2013 15:10:51 +0000 (20:40 +0530)
committermonishdeb <monish.deb@webaccess.co.in>
Thu, 8 Aug 2013 15:10:51 +0000 (20:40 +0530)
----------------------------------------
* CRM-12930: CRM/Core/BAO/MessageTemplates.php does not obey CIVICRM_MAIL_SMARTY
  http://issues.civicrm.org/jira/browse/CRM-12930

CRM/Core/BAO/ActionSchedule.php

index 97d296a2e67291842f93251bf18d10cb9803f94f..838cb88509169316ed902bcf18257f655f98fee9 100755 (executable)
@@ -390,7 +390,7 @@ WHERE   cas.entity_value = $id AND
       $smarty = CRM_Core_Smarty::singleton();
       $body_text = $smarty->fetch('string:' . $body_text);
       $body_html = $smarty->fetch('string:' . $body_html);
-      $body_subject = $smarty->fetch('string:' . $messageSubject);
+      $body_subject = $smarty->fetch('string:' . $body_subject);
 
       $params = array(array('contact_id', '=', $contactId, 0, 0));
       list($contact, $_) = CRM_Contact_BAO_Query::apiQuery($params);