fix: [UI] Undefined variables in authkeys view

pull/6938/head^2
Jakub Onderka 2021-02-11 15:35:10 +01:00 committed by Alexandre Dulaunoy
parent 8e7b90e140
commit e3313ccb5b
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
1 changed files with 3 additions and 0 deletions

View File

@ -10,6 +10,9 @@ if (isset($keyUsage)) {
$dateAsString = date('Y-m-d', $date);
$keyUsageCsv .= $dateAsString . ',' . (isset($keyUsage[$dateAsString]) ? $keyUsage[$dateAsString] : 0) . '\n';
}
} else {
$lastUsed = null;
$uniqueIps = null;
}
echo $this->element(