[#13] minor adjustments

This commit is contained in:
B. Endres 2020-01-29 18:01:32 +01:00
commit f3e6b031b5
2 changed files with 2 additions and 2 deletions

View file

@ -123,7 +123,7 @@ class CRM_Twingle_Tools {
return reset($ooff_mandate['values']); return reset($ooff_mandate['values']);
} }
} catch (Exception $ex) { } catch (Exception $ex) {
Civi::log()->error("CRM_Twingle_Tools::getMandate failde for [{$contribution_id}]: " . $ex->getMessage()); Civi::log()->debug("CRM_Twingle_Tools::getMandate failed for [{$contribution_id}]: " . $ex->getMessage());
} }
} }
return NULL; return NULL;

View file

@ -163,7 +163,7 @@ function _civicrm_api3_twingle_donation_Submit_spec(&$params) {
); );
$params['user_email'] = array( $params['user_email'] = array(
'name' => 'user_email', 'name' => 'user_email',
'title' => E::ts('E-mail address'), 'title' => E::ts('Email address'),
'type' => CRM_Utils_Type::T_STRING, 'type' => CRM_Utils_Type::T_STRING,
'api.required' => 0, 'api.required' => 0,
'description' => E::ts('The e-mail address of the contact.'), 'description' => E::ts('The e-mail address of the contact.'),