From b24f69db213f03f43bbff31e8bdb014971cf8752 Mon Sep 17 00:00:00 2001 From: Eileen Date: Mon, 16 Sep 2013 12:23:28 +0000 Subject: [PATCH] CRM-13402 fix git error in prev ---------------------------------------- * CRM-13402: Improve debug logging around server unavailble (ditch the loop), missing contributions, mail store problems http://issues.civicrm.org/jira/browse/CRM-13402 --- CRM/Profile/Form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Profile/Form.php b/CRM/Profile/Form.php index bd61ff6005..27d9d21e56 100644 --- a/CRM/Profile/Form.php +++ b/CRM/Profile/Form.php @@ -1317,7 +1317,7 @@ class CRM_Profile_Form extends CRM_Core_Form { $params['contactID'] = $this->_id; if (!CRM_Core_BAO_CMSUser::create($params, $this->_mail)) { CRM_Core_Session::setStatus(ts('Your profile is not saved and Account is not created.'), ts('Profile Error'), 'error'); - CRM_Core_Error::debug_log_message("Rolling back transaction as CMSUser Create failed in Profile_Form for contact " . $params['contactID']); $transaction->rollback(); + CRM_Core_Error::debug_log_message("Rolling back transaction as CMSUser Create failed in Profile_Form for contact " . $params['contactID']); $transaction->rollback(); return CRM_Utils_System::redirect(CRM_Utils_System::url('civicrm/profile/create', 'reset=1&gid=' . $this->_gid -- 2.25.1