Fix per php8.1

This commit is contained in:
Pek5892 2024-04-22 10:11:10 +02:00
parent 5d55ad191d
commit 1bae45821a
2 changed files with 2 additions and 2 deletions

View File

@ -112,7 +112,7 @@ if (filter('action') == 'do_update') {
exit;
} elseif (Update::isUpdateAvailable()) {
// Controllo se l'aggiornamento è in esecuzione
if (Update::isUpdateLocked() && filter('force') === null) {
if (Update::isUpdateLocked() && !(isset($_GET['force']))) {
$pageTitle = tr('Aggiornamento in corso!');
include_once App::filepath('include|custom|', 'top.php');

View File

@ -99,7 +99,7 @@ if (filter('op') == 'restore') {
}
$number = filter('number');
if ($number === null) {
if (empty($number)) {
$path = $_FILES['blob']['tmp_name'];
} else {
$number != '' ? $number : 0;