1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-09 20:52:56 +01:00

Working on tests

This commit is contained in:
Hillel Coren 2018-03-11 12:56:46 +02:00
parent fcbab2fd02
commit 262a9e266e

View File

@ -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) {