From adb5910de843c123ff623cd2e0e6cb73fea1d577 Mon Sep 17 00:00:00 2001 From: Neozonz Date: Tue, 21 Jan 2014 08:25:08 -0500 Subject: [PATCH] [FIX] Whoops --- cronjobs/payouts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cronjobs/payouts.php b/cronjobs/payouts.php index 19053db6..5e62c843 100755 --- a/cronjobs/payouts.php +++ b/cronjobs/payouts.php @@ -79,7 +79,7 @@ if ($setting->getValue('disable_manual_payouts') != 1) { if (!$notification->sendNotification($aData['account_id'], 'manual_payout', $aMailData)) $log->logError('Failed to send notification email to users address: ' . $aMailData['email'] . 'ERROR: ' . $notification->getCronError()); // Recheck the users balance to make sure it is now 0 - if (!$aBalance = $transaction->getBalance($aData['account_id']) { + if (!$aBalance = $transaction->getBalance($aData['account_id'])) { $log->logFatal('Failed to fetch balance for account ' . $aData['account_id'] . '. ERROR: ' . $transaction->getCronError()); $monitoring->endCronjob($cron_name, 'E0065', 1, true); }