Skip to content
Snippets Groups Projects
Commit bf5dd7d8 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms Committed by David Siegfried
Browse files

prevent warnings, fixes #2407

Closes #2407

Merge request studip/studip!1602
parent 55dc29ed
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ class Admin_Cronjobs_LogsController extends AuthenticatedController
if (empty($_SESSION['cronlog-filter'])) {
$_SESSION['cronlog-filter'] = [
'where' => '1',
'values' => [],
'values' => array_fill_keys(['status', 'schedule_id', 'task_id'], null),
];
}
......
......@@ -29,7 +29,7 @@ class Admin_Cronjobs_SchedulesController extends AuthenticatedController
if (empty($_SESSION['cronjob-filter'])) {
$_SESSION['cronjob-filter'] = [
'where' => '1',
'values' => [],
'values' => array_fill_keys(['type', 'status', 'task_id'], null),
];
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment