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:
parent
fcbab2fd02
commit
262a9e266e
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user