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";