CRM-15844
authorChris Burgess <chris@giantrobot.co.nz>
Tue, 20 Jan 2015 01:56:36 +0000 (14:56 +1300)
committerChris Burgess <chris@giantrobot.co.nz>
Tue, 20 Jan 2015 01:56:36 +0000 (14:56 +1300)
CRM/Contribute/BAO/Contribution/Utils.php

index 75bd26eb26ff3c8dc0e39b9af7e24ca34bd5bcdf..47073f91cc575767ed619cdd6013d77119896833 100644 (file)
@@ -189,7 +189,7 @@ class CRM_Contribute_BAO_Contribution_Utils {
     elseif ($form->_contributeMode == 'express') {
       if ($form->_values['is_monetary'] && $form->_amount > 0.0) {
         // determine if express + recurring and direct accordingly
-        if ($paymentParams['is_recur'] == 1) {
+        if (isset($paymentParams['is_recur'] && $paymentParams['is_recur'] == 1) {
           if (is_object($payment)) {
             $result = $payment->createRecurringPayments($paymentParams);
           }