Update delais.php

This commit is contained in:
Damien BENOIT 2021-04-07 19:37:17 +02:00 committed by GitHub
parent 1bac38eef2
commit ac2cca51c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -289,7 +289,7 @@ if ($action == 'edit') {
print '<br>';
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 '<span class="opacitymedium">'.$langs->trans("DescWeather").'</span> ';