From 7f76295a93706c00ea76c1f44d65fc0f016841bc Mon Sep 17 00:00:00 2001 From: malle-pietje Date: Tue, 22 Dec 2015 20:03:55 +0100 Subject: [PATCH] minor update the "About" modal now shows the detected Controller version --- index.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index 20d8335..05d2374 100644 --- a/index.php +++ b/index.php @@ -138,7 +138,7 @@ $sites = $unifidata->list_sites(); $_SESSION['sites'] = $sites; } else { -$sites = $_SESSION['sites']; + $sites = $_SESSION['sites']; } /* @@ -148,6 +148,8 @@ $site_info = $unifidata->stat_sysinfo(); $detected_controller_version = $site_info[0]->version; $_SESSION['detected_controller_version'] = $detected_controller_version; +} else { + $detected_controller_version = $_SESSION['detected_controller_version']; } /*