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