Count error in ninja:send-reminders cron #1922
This commit is contained in:
parent
86893bbbfd
commit
31b8437dc6
|
|
@ -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');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue