From 2cac98d95520b3a672154a79ea65a4dcd1ca4089 Mon Sep 17 00:00:00 2001 From: MatteoPistorello Date: Mon, 30 May 2022 16:21:42 +0200 Subject: [PATCH] Bugfix controllo database --- modules/aggiornamenti/database.php | 2 +- modules/aggiornamenti/edit.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/aggiornamenti/database.php b/modules/aggiornamenti/database.php index be070eb15..9f975a956 100644 --- a/modules/aggiornamenti/database.php +++ b/modules/aggiornamenti/database.php @@ -127,7 +127,7 @@ if (!empty($results)) { '; foreach ($errors as $name => $diff) { - if (count($diff) == 1 && array_key_exists('type', $diff) && Str::contains($diff['type']['expected'], $diff['type']['current'])) { + if (count($diff) == 1 && array_key_exists('type', $diff) && string_contains($diff['type']['expected'], $diff['type']['current'])) { $class = 'info'; } else { $class = 'warning'; diff --git a/modules/aggiornamenti/edit.php b/modules/aggiornamenti/edit.php index 05ad7b7e6..28225fde5 100755 --- a/modules/aggiornamenti/edit.php +++ b/modules/aggiornamenti/edit.php @@ -228,7 +228,7 @@ echo '

- '.tr("Verifica l'integrità dell'intallazione").' + '.tr("Verifica l'integrità dell'installazione").'