From 11fa2b02cd8d875fcde73d207aa468984755e77f Mon Sep 17 00:00:00 2001 From: Vladimir Rodin Date: Mon, 26 Apr 2021 09:51:19 +0300 Subject: [PATCH] fix for module log call --- modules/gateways/vrcoinify.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/gateways/vrcoinify.php b/modules/gateways/vrcoinify.php index e6352e8..bff7671 100755 --- a/modules/gateways/vrcoinify.php +++ b/modules/gateways/vrcoinify.php @@ -47,7 +47,7 @@ function vrcoinify_link($params) ); if (empty($result)) { - logModuleCall('vrcoinify', 'invoiceCreation', $params, $result, [], []); + logModuleCall('vrcoinify', 'invoiceCreation', $params, $result, null, null); return renderError(vrcoinify_error_not_available); } @@ -55,7 +55,7 @@ function vrcoinify_link($params) if ($error) { $code = $error['code'] ?? null; - logModuleCall('vrcoinify', 'invoiceCreation', $params, $result, [], []); + logModuleCall('vrcoinify', 'invoiceCreation', $params, $result, null, null); if ($code && 'amount_too_low' === $code) { return renderError(vrcoinify_error_amount_too_low);