Skip to content

Commit

Permalink
minor update
Browse files Browse the repository at this point in the history
the "About" modal now shows the detected Controller version
  • Loading branch information
malle-pietje committed Dec 22, 2015
1 parent 5bf33cb commit 7f76295
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
$sites = $unifidata->list_sites();
$_SESSION['sites'] = $sites;
} else {
$sites = $_SESSION['sites'];
$sites = $_SESSION['sites'];
}

/*
Expand All @@ -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'];
}

/*
Expand Down

0 comments on commit 7f76295

Please sign in to comment.