mirror of
https://github.com/pi-hole/web.git
synced 2026-04-24 02:39:25 +01:00
Complementing PR 2316
- other undefined vars are still spamming the log Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
This commit is contained in:
@@ -72,11 +72,11 @@ if (!is_readable($versionsfile)) {
|
||||
}
|
||||
|
||||
// Version comparison
|
||||
$core_update = checkUpdate($core_current, $core_latest);
|
||||
$web_update = checkUpdate($web_current, $web_latest);
|
||||
$FTL_update = checkUpdate($FTL_current, $FTL_latest);
|
||||
if (!$docker_current) {
|
||||
// Not a docker container
|
||||
$core_update = checkUpdate($core_current, $core_latest);
|
||||
$web_update = checkUpdate($web_current, $web_latest);
|
||||
$FTL_update = checkUpdate($FTL_current, $FTL_latest);
|
||||
$docker_update = false;
|
||||
} elseif ($docker_current == 'nightly' || $docker_current == 'dev') {
|
||||
// Special container - no update messages
|
||||
|
||||
Reference in New Issue
Block a user