mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-03 07:14:36 -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')
|
->orderBy('id', 'DESC')
|
||||||
->cursor()
|
->cursor()
|
||||||
->filter(function ($system_log) {
|
->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) {
|
})->map(function ($system_log) {
|
||||||
return $system_log->log['history'];
|
return $system_log->log['history'];
|
||||||
})->values()->all();
|
})->values()->all();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user