From fe1653981b6ac8443dec5f53d0a42950d5b14fb8 Mon Sep 17 00:00:00 2001 From: Joe Huss Date: Thu, 28 Feb 2019 11:09:30 -0500 Subject: [PATCH] updates aincorperating the module parameter into the myadmin_log calls --- src/pay_balance_payza.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pay_balance_payza.php b/src/pay_balance_payza.php index 8867672..ad589ed 100644 --- a/src/pay_balance_payza.php +++ b/src/pay_balance_payza.php @@ -28,7 +28,7 @@ function pay_balance_payza() { $GLOBALS['tf']->variables->request['invoices'] = $db->real_escape(str_replace('INV'.$module, '', $GLOBALS['tf']->variables->request['invoices'])); $table->add_hidden('invoices', $GLOBALS['tf']->variables->request['invoices']); $query = "select * from invoices where invoices_module='{$module}' and invoices_paid=0 and invoices_type=1 and invoices_custid='{$custid}' and invoices_id in ('".implode("','", explode(',', $GLOBALS['tf']->variables->request['invoices']))."') order by invoices_id desc"; - myadmin_log('billing', 'info', $query, __LINE__, __FILE__); + myadmin_log('billing', 'info', $query, __LINE__, __FILE__, $module); $db->query($query, __LINE__, __FILE__); } else { $query = "select * from invoices where invoices_module='{$module}' and invoices_paid=0 and invoices_type=1 and invoices_custid='{$custid}' order by invoices_id desc";