From: Keith Morgan Date: Tue, 2 Apr 2013 09:22:06 +0000 (-0500) Subject: Adding hooks to MessageTemplates CRM-12265 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c9606a531a94cfe6d4acb6c19d3e2eb9932b3c28;p=civicrm-core.git Adding hooks to MessageTemplates CRM-12265 --- diff --git a/CRM/Core/BAO/MessageTemplates.php b/CRM/Core/BAO/MessageTemplates.php index 0963e940a1..83af344c51 100644 --- a/CRM/Core/BAO/MessageTemplates.php +++ b/CRM/Core/BAO/MessageTemplates.php @@ -92,7 +92,7 @@ class CRM_Core_BAO_MessageTemplates extends CRM_Core_DAO_MessageTemplates { $messageTemplates->copyValues($params); $messageTemplates->save(); - CRM_Utils_Hook::post($hook, 'MessageTemplate', $messageTemplates>id, $messageTemplates); + CRM_Utils_Hook::post($hook, 'MessageTemplate', $messageTemplates->id, $messageTemplates); return $messageTemplates; }