From ac2cca51c0b41098d8b1d7493a287a8a09038f3d Mon Sep 17 00:00:00 2001
From: Damien BENOIT <48482664+Givriz@users.noreply.github.com>
Date: Wed, 7 Apr 2021 19:37:17 +0200
Subject: [PATCH] Update delais.php
---
htdocs/admin/delais.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/htdocs/admin/delais.php b/htdocs/admin/delais.php
index 71783b2a319..b0c1cc5398b 100644
--- a/htdocs/admin/delais.php
+++ b/htdocs/admin/delais.php
@@ -289,7 +289,7 @@ if ($action == 'edit') {
print '
';
-if (isset($conf->global->MAIN_DISABLE_METEO) && $conf->global->MAIN_DISABLE_METEO != 1) {
+if (!isset($conf->global->MAIN_DISABLE_METEO) || $conf->global->MAIN_DISABLE_METEO != 1) {
// Show logo for weather
print ''.$langs->trans("DescWeather").' ';