static function getGroupList() {
$params = $_REQUEST;
- if ( isset($params['parent_id']) ) {
+ if (isset($params['parent_id'])) {
// requesting child groups for a given parent
$params['page'] = 1;
- $params['rp'] = 25;
+ $params['rp'] = 0;
$groups = CRM_Contact_BAO_Group::getGroupListSelector($params);
echo json_encode($groups);
CRM_Member_BAO_Membership::recordMembershipContribution(array_merge($formValues, array('membership_id' => $renewMembership->id)));
}
- if (!empty($formValues['send_receipt'])) {
- CRM_Core_DAO::setFieldValue('CRM_Member_DAO_MembershipType',
- $formValues['membership_type_id'][1],
- 'receipt_text_renewal',
- $formValues['receipt_text_renewal']
- );
- }
-
$receiptSend = FALSE;
- if (CRM_Utils_Array::value('send_receipt', $formValues)) {
+ if (!empty($formValues['send_receipt'])) {
$receiptSend = TRUE;
$receiptFrom = $formValues['from_email_address'];