More debug [skip ci]

This commit is contained in:
James Cole
2018-04-08 16:18:35 +02:00
parent e597f04b0d
commit 5850ad06b1

View File

@@ -442,6 +442,7 @@ class AccountController extends Controller
$chartData = []; $chartData = [];
foreach ($accounts as $account) { foreach ($accounts as $account) {
Log::debug(sprintf('Now at account #%d', $account->id)); Log::debug(sprintf('Now at account #%d', $account->id));
Log::debug(sprintf('Currency preference is: %d', (int)$account->getMeta('currency_id')));
$currency = $repository->findNull((int)$account->getMeta('currency_id')); $currency = $repository->findNull((int)$account->getMeta('currency_id'));
Log::debug(sprintf('Currency is null? %s', var_export($currency === null, true))); Log::debug(sprintf('Currency is null? %s', var_export($currency === null, true)));
$currentSet = [ $currentSet = [