Test Fix
authorSudha Bisht <sudha.bisht@webaccessglobal.com>
Fri, 5 Jun 2015 13:17:24 +0000 (18:47 +0530)
committerSudha Bisht <sudha.bisht@webaccessglobal.com>
Fri, 5 Jun 2015 13:17:24 +0000 (18:47 +0530)
CRM/Core/Payment/Form.php

index 5e1a007c323dfc0909452516ccbb7b835d540c48..bf1a5fa59abe730695122e7fc8ec00734a6852d1 100644 (file)
@@ -303,7 +303,7 @@ class CRM_Core_Payment_Form {
    */
   protected static function addPaypalExpressCode(&$form) {
     if (empty($form->isBackOffice)) {
-      if (in_array(CRM_Utils_Array::value('billing_mode', $form->_paymentProcessor), array(2,3))) {
+      if (in_array(CRM_Utils_Array::value('billing_mode', $form->_paymentProcessor), array(2, 3))) {
         $form->_expressButtonName = $form->getButtonName('upload', 'express');
         $form->assign('expressButtonName', $form->_expressButtonName);
         $form->add('image',