pluizia codice

This commit is contained in:
mariano
2026-05-21 10:54:04 +02:00
parent 5fac26040a
commit 223180d1a9
12 changed files with 32 additions and 38 deletions
+4 -2
View File
@@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
/**
* -------------------------------------------------------------------------
* UrBackup plugin for GLPI
@@ -327,7 +329,7 @@ class Server extends CommonDBTM
$this->initForm($ID, $options);
$this->showFormHeader($options);
$this->showFormFields($ID);
$this->showFormFields($ID > 0 ? (int) $ID : null);
$this->showFormButtons($options);
return true;
@@ -1339,7 +1341,7 @@ JAVASCRIPT;
return $cache[$id];
}
private static function getAssetIp(string $itemtype, int $items_id): string
public static function getAssetIp(string $itemtype, int $items_id): string
{
global $DB;