From 262a9e266e80834694f31491916fb33ea7ac9836 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 11 Mar 2018 12:56:46 +0200 Subject: [PATCH] Working on tests --- app/Ninja/PaymentDrivers/BasePaymentDriver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Ninja/PaymentDrivers/BasePaymentDriver.php b/app/Ninja/PaymentDrivers/BasePaymentDriver.php index 5ab9d0d185bc..5bc91dc7ab4b 100644 --- a/app/Ninja/PaymentDrivers/BasePaymentDriver.php +++ b/app/Ninja/PaymentDrivers/BasePaymentDriver.php @@ -266,7 +266,7 @@ class BasePaymentDriver public function completeOnsitePurchase($input = false, $paymentMethod = false) { - $this->input = $input && $input->count() ? $input : false; + $this->input = $input && count($input) ? $input : false; $gateway = $this->gateway(); if ($input) {