From e636dfd2f98c56f914fb83dc60182f52544c12f6 Mon Sep 17 00:00:00 2001 From: samuelsov Date: Thu, 26 Feb 2015 14:41:17 -0500 Subject: [PATCH] Fix non standard syntax --- CRM/Campaign/BAO/Campaign.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Campaign/BAO/Campaign.php b/CRM/Campaign/BAO/Campaign.php index 39eaeeeaf2..809a55f6a2 100644 --- a/CRM/Campaign/BAO/Campaign.php +++ b/CRM/Campaign/BAO/Campaign.php @@ -67,7 +67,7 @@ class CRM_Campaign_BAO_Campaign extends CRM_Campaign_DAO_Campaign { } CRM_Utils_Hook::pre('create', 'Campaign', NULL, $params); - } + } else { CRM_Utils_Hook::pre('edit', 'Campaign', $params['id'], $params); } -- 2.25.1