1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 12:12:48 +01:00

Count error in ninja:send-reminders cron #1922

This commit is contained in:
Hillel Coren 2018-02-27 15:29:10 +02:00
parent 86893bbbfd
commit 31b8437dc6

View File

@ -1212,7 +1212,7 @@ class InvoiceRepository extends BaseRepository
$frequencyId = $settings->frequency_id_reminder4; $frequencyId = $settings->frequency_id_reminder4;
if (! $frequencyId || ! $account->enable_reminder4) { if (! $frequencyId || ! $account->enable_reminder4) {
return []; return collect();
} }
$frequency = Utils::getFromCache($frequencyId, 'frequencies'); $frequency = Utils::getFromCache($frequencyId, 'frequencies');