Skip to content

Commit

Permalink
updates aincorperating the module parameter into the myadmin_log calls
Browse files Browse the repository at this point in the history
  • Loading branch information
detain committed Feb 28, 2019
1 parent 2e40131 commit fe16539
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pay_balance_payza.php
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit fe16539

Please sign in to comment.