Fix the case of 'Ungrouped' (#14351)

This commit is contained in:
Félix Bouynot 2022-09-14 20:14:31 +02:00 committed by GitHub
parent 4afc188cad
commit 8dabf4e2ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,7 +78,7 @@ class Smokeping
public function generateFileName($file = '')
{
if (Config::get('smokeping.integration') === true) {
return Config::get('smokeping.dir') . '/' . ($this->device->type ?: 'ungrouped') . '/' . $file;
return Config::get('smokeping.dir') . '/' . ($this->device->type ?: 'Ungrouped') . '/' . $file;
} else {
return Config::get('smokeping.dir') . '/' . $file;
}