From d3270904bd0f58b27bbbe3197f49fd3e2ccf2d5a Mon Sep 17 00:00:00 2001 From: fbsanchez Date: Thu, 22 Jul 2021 11:33:57 +0200 Subject: [PATCH] Avoid notice --- pandora_console/godmode/um_client/index.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pandora_console/godmode/um_client/index.php b/pandora_console/godmode/um_client/index.php index 20f209e643..c6d1b6d69d 100644 --- a/pandora_console/godmode/um_client/index.php +++ b/pandora_console/godmode/um_client/index.php @@ -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) {