CRM-16808 fix to preApproval processor_name
authorEileen McNaughton <eileen@fuzion.co.nz>
Sat, 18 Jul 2015 09:39:25 +0000 (21:39 +1200)
committerEileen McNaughton <eileen@fuzion.co.nz>
Sat, 18 Jul 2015 09:39:25 +0000 (21:39 +1200)
CRM/Core/Payment/PayPalImpl.php

index 9767a0d12607b55e660f1a642d2bb0512151be26..2246c1f3df3346f219515624a8adf5adcd5bfb0a 100644 (file)
@@ -88,7 +88,7 @@ class CRM_Core_Payment_PayPalImpl extends CRM_Core_Payment {
    * @return bool
    */
   protected function supportsPreApproval() {
-    if ($this->_processorName == ts('PayPal_Express')) {
+    if ($this->_processorName == ts('PayPal Express')) {
       return TRUE;
     }
     return FALSE;