fixed indentation and styling

This commit is contained in:
2018-08-30 13:21:44 +01:00
parent e4feb3a9e9
commit 1c455e639f
3 changed files with 52 additions and 75 deletions

View File

@ -43,7 +43,8 @@ class CRM_Utils_API_ConstituentsOnlyAPIWrapper implements API_Wrapper {
'sequential' => 1,
'contact_id' => array('=' => $api_result['id']),
));
} catch (CiviCRM_API3_Exception $e) {
}
catch (CiviCRM_API3_Exception $e) {
$error = $e->getMessage();
}
@ -58,4 +59,5 @@ class CRM_Utils_API_ConstituentsOnlyAPIWrapper implements API_Wrapper {
}
return $result;
}
}