mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Checks for history in system logs
This commit is contained in:
parent
45d5838aa8
commit
546e827732
@ -32,7 +32,7 @@ class EmailHistoryController extends BaseController
|
||||
->orderBy('id', 'DESC')
|
||||
->cursor()
|
||||
->filter(function ($system_log) {
|
||||
return ($system_log->log['history'] && isset($system_log->log['history']['events']) && count($system_log->log['history']['events']) >=1) !== false;
|
||||
return (isset($system_log->log['history']) && isset($system_log->log['history']['events']) && count($system_log->log['history']['events']) >=1) !== false;
|
||||
})->map(function ($system_log) {
|
||||
return $system_log->log['history'];
|
||||
})->values()->all();
|
||||
|
Loading…
x
Reference in New Issue
Block a user