Revert "Merge pull request #1376 from monishdeb/CRM-12930"
authorkurund <kurund@civicrm.org>
Thu, 8 Aug 2013 19:35:08 +0000 (01:05 +0530)
committerkurund <kurund@civicrm.org>
Thu, 8 Aug 2013 19:35:08 +0000 (01:05 +0530)
This reverts commit ab705a177447f37bbc6ee107a79927ca13498343, reversing
changes made to c77d25a7703832e635e36ef92192a278e42fc8e7.

CRM/Core/BAO/ActionSchedule.php

index 838cb88509169316ed902bcf18257f655f98fee9..97d296a2e67291842f93251bf18d10cb9803f94f 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:' . $body_subject);
+      $body_subject = $smarty->fetch('string:' . $messageSubject);
 
       $params = array(array('contact_id', '=', $contactId, 0, 0));
       list($contact, $_) = CRM_Contact_BAO_Query::apiQuery($params);