[FIX] Use proper variable for error report
This commit is contained in:
parent
d3aa7ad1d5
commit
6e23480434
@ -84,7 +84,7 @@ if ($setting->getValue('disable_manual_payouts') != 1) {
|
|||||||
}
|
}
|
||||||
// Update our transaction and add the RPC Transaction ID
|
// Update our transaction and add the RPC Transaction ID
|
||||||
if (empty($rpc_txid) || !$transaction->setRPCTxId($transaction_id, $rpc_txid))
|
if (empty($rpc_txid) || !$transaction->setRPCTxId($transaction_id, $rpc_txid))
|
||||||
$log->logError('Unable to add RPC transaction ID ' . $rpc_txid . ' to transaction record ' . $tx_id . ': ' . $transaction->getCronError());
|
$log->logError('Unable to add RPC transaction ID ' . $rpc_txid . ' to transaction record ' . $transaction_id . ': ' . $transaction->getCronError());
|
||||||
// Notify user via mail
|
// Notify user via mail
|
||||||
$aMailData['email'] = $user->getUserEmail($user->getUserName($aData['account_id']));
|
$aMailData['email'] = $user->getUserEmail($user->getUserName($aData['account_id']));
|
||||||
$aMailData['subject'] = 'Manual Payout Completed';
|
$aMailData['subject'] = 'Manual Payout Completed';
|
||||||
@ -165,7 +165,7 @@ if ($setting->getValue('disable_auto_payouts') != 1) {
|
|||||||
}
|
}
|
||||||
// Update our transaction and add the RPC Transaction ID
|
// Update our transaction and add the RPC Transaction ID
|
||||||
if (empty($rpc_txid) || !$transaction->setRPCTxId($transaction_id, $rpc_txid))
|
if (empty($rpc_txid) || !$transaction->setRPCTxId($transaction_id, $rpc_txid))
|
||||||
$log->logError('Unable to add RPC transaction ID ' . $rpc_txid . ' to transaction record ' . $tx_id . ': ' . $transaction->getCronError());
|
$log->logError('Unable to add RPC transaction ID ' . $rpc_txid . ' to transaction record ' . $transaction_id . ': ' . $transaction->getCronError());
|
||||||
// Notify user via mail
|
// Notify user via mail
|
||||||
$aMailData['email'] = $user->getUserEmail($user->getUserName($aUserData['id']));
|
$aMailData['email'] = $user->getUserEmail($user->getUserName($aUserData['id']));
|
||||||
$aMailData['subject'] = 'Auto Payout Completed';
|
$aMailData['subject'] = 'Auto Payout Completed';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user