Skip to content
Snippets Groups Projects
Commit f994da2e authored by nicolas lebozec's avatar nicolas lebozec
Browse files

FIX #19031 TIME 0:10 Fix warnings when filtering in the history

parent bac36a19
No related branches found
No related tags found
No related merge requests found
......@@ -211,7 +211,7 @@ class HistoryController
foreach ($filteredHistoryIds as $key => $objectId) {
if (!empty($key)) {
$history[$key]['label'] = $objects[$objectId];
$history[$key]['label'] = $objects[$objectId] ?? null;
}
}
}
......@@ -591,7 +591,6 @@ class HistoryController
}
$zip->close();
$fileContent = file_get_contents($zipFilename);
unlink($zipFilename);
return ['fileContent' => $fileContent];
......
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