mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04: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)
|
public function completeOnsitePurchase($input = false, $paymentMethod = false)
|
||||||
{
|
{
|
||||||
$this->input = $input && $input->count() ? $input : false;
|
$this->input = $input && count($input) ? $input : false;
|
||||||
$gateway = $this->gateway();
|
$gateway = $this->gateway();
|
||||||
|
|
||||||
if ($input) {
|
if ($input) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user