CRM-13402 fix git error in prev
authorEileen <eileen@fuzion.co.nz>
Mon, 16 Sep 2013 12:23:28 +0000 (12:23 +0000)
committerEileen <eileen@fuzion.co.nz>
Mon, 16 Sep 2013 12:23:28 +0000 (12:23 +0000)
----------------------------------------
* 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

index bd61ff60051ae34d8c08ece1eaddf2aef0331fde..27d9d21e56d2046e2344699e017b33361d8c0154 100644 (file)
@@ -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