mirror of https://github.com/MISP/MISP
fix: [serverShell:sendPeriodicSummaryToUsers] Typo in periods
parent
bb968c57df
commit
6f4564e900
|
@ -596,10 +596,10 @@ class ServerShell extends AppShell
|
|||
$today = new DateTime();
|
||||
$periods = ['daily'];
|
||||
if ($today->format('j') == 1) {
|
||||
$periods[] = 'weekly';
|
||||
$periods[] = 'monthly';
|
||||
}
|
||||
if ($today->format('N') == 1) {
|
||||
$periods[] = 'monthly';
|
||||
$periods[] = 'weekly';
|
||||
}
|
||||
return $periods;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue