X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FPledge%2FPage%2FPayment.php;h=733ecada84178ab28c50bd098d5a6634332b0bda;hb=4fd26f71c62960fbbb738a549bb595926f1eb70b;hp=d05bcddb8fb739b085fb7f859cd98c4457668d70;hpb=389d11ec7b65de1b7c1b88ed030394c707439118;p=civicrm-core.git diff --git a/CRM/Pledge/Page/Payment.php b/CRM/Pledge/Page/Payment.php index d05bcddb8f..733ecada84 100644 --- a/CRM/Pledge/Page/Payment.php +++ b/CRM/Pledge/Page/Payment.php @@ -1,9 +1,9 @@ _contactId = CRM_Utils_Request::retrieve('cid', 'Positive', $this); - CRM_Pledge_Page_Tab::setContext(); + CRM_Pledge_Page_Tab::setContext($this); if ($this->_action & CRM_Core_Action::UPDATE) { $this->edit(); - // set page title - CRM_Contact_Page_View::setTitle($this->_contactId); } else { $pledgeId = CRM_Utils_Request::retrieve('pledgeId', 'Positive', $this); @@ -66,7 +64,7 @@ class CRM_Pledge_Page_Payment extends CRM_Core_Page { $this->assign('contactId', $this->_contactId); // check if we can process credit card contribs - CRM_Core_Payment::allowBackofficeCreditCard($this); + $this->assign('newCredit', CRM_Core_Config::isEnabledBackOfficeCreditCardPayments()); // check is the user has view/edit signer permission $permission = 'view';