From: Sudha Bisht Date: Wed, 17 Jun 2015 07:19:18 +0000 (+0530) Subject: Fix for PCP giving default anonymous X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=6747e97be1d78197e05de4ff8121c655b1ceca56;p=civicrm-core.git Fix for PCP giving default anonymous --- diff --git a/CRM/Contribute/Form/Contribution/Main.php b/CRM/Contribute/Form/Contribution/Main.php index a68889e287..a5b870b401 100644 --- a/CRM/Contribute/Form/Contribution/Main.php +++ b/CRM/Contribute/Form/Contribution/Main.php @@ -574,8 +574,6 @@ class CRM_Contribute_Form_Contribution_Main extends CRM_Contribute_Form_Contribu $elements[] = &$this->createElement('radio', NULL, '', ts('Include my name and message'), 0, $extraOption); $elements[] = &$this->createElement('radio', NULL, '', ts('List my contribution anonymously'), 1, $extraOption); $this->addGroup($elements, 'pcp_is_anonymous', NULL, '   '); - $this->setDefaults(array('pcp_display_in_roll' => 1)); - $this->setDefaults(array('pcp_is_anonymous' => 1)); $this->add('text', 'pcp_roll_nickname', ts('Name'), array('maxlength' => 30)); $this->add('textarea', 'pcp_personal_note', ts('Personal Note'), array('style' => 'height: 3em; width: 40em;'));