From: samuelsov Date: Thu, 26 Feb 2015 19:41:17 +0000 (-0500) Subject: Fix non standard syntax X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e636dfd2f98c56f914fb83dc60182f52544c12f6;p=civicrm-core.git Fix non standard syntax --- 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); }