From c9606a531a94cfe6d4acb6c19d3e2eb9932b3c28 Mon Sep 17 00:00:00 2001 From: Keith Morgan Date: Tue, 2 Apr 2013 04:22:06 -0500 Subject: [PATCH] Adding hooks to MessageTemplates CRM-12265 --- CRM/Core/BAO/MessageTemplates.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.25.1