Avoid notice

This commit is contained in:
fbsanchez 2021-07-22 11:33:57 +02:00
parent f83fddb4ff
commit d3270904bd
1 changed files with 4 additions and 0 deletions

View File

@ -70,6 +70,10 @@ if (empty($license) === true) {
}
$mode_str = '';
if (isset($mode) === false) {
$mode = null;
}
if ($mode === Manager::MODE_ONLINE) {
$mode_str = 'online';
} else if ($mode === Manager::MODE_OFFLINE) {