diff --git a/htdocs/admin/system/filecheck.php b/htdocs/admin/system/filecheck.php
index 895393eec1d..ba8307792fc 100644
--- a/htdocs/admin/system/filecheck.php
+++ b/htdocs/admin/system/filecheck.php
@@ -338,7 +338,6 @@ if (! $error && $xml)
$out.='
';
$out.='| '.$i.' | ' . "\n";
$out.=''.$file['filename'];
- $out.=PHP_OS;
if (! preg_match('/^win/i',PHP_OS)) {
$htmltext=$langs->trans("YouCanDeleteFileOnServerWith", 'rm '.DOL_DOCUMENT_ROOT.'/'.$file['filename']);
$out.=' '.$form->textwithpicto('', $htmltext, 1, 'help', '', 0, 2, 'helprm');
diff --git a/htdocs/compta/prelevement/class/bonprelevement.class.php b/htdocs/compta/prelevement/class/bonprelevement.class.php
index 143b73fbaeb..3f7dd23059d 100644
--- a/htdocs/compta/prelevement/class/bonprelevement.class.php
+++ b/htdocs/compta/prelevement/class/bonprelevement.class.php
@@ -1591,6 +1591,7 @@ class BonPrelevement extends CommonObject
function EnregDestinataireSEPA($row_code_client, $row_nom, $row_address, $row_zip, $row_town, $row_country_code, $row_cb, $row_cg, $row_cc, $row_somme, $row_ref, $row_idfac, $row_iban, $row_bic, $row_datec, $row_drum)
{
// phpcs:enable
+ global $conf;
$CrLf = "\n";
$Rowing = sprintf("%06d", $row_idfac);
diff --git a/htdocs/resource/class/dolresource.class.php b/htdocs/resource/class/dolresource.class.php
index ad3355e3972..ec184cd856d 100644
--- a/htdocs/resource/class/dolresource.class.php
+++ b/htdocs/resource/class/dolresource.class.php
@@ -56,7 +56,9 @@ class Dolresource extends CommonObject
public $type_label;
public $tms='';
- var $oldcopy;
+ public $cache_code_type_resource=array();
+
+ public $oldcopy;
/**
* Constructor
|