';
// Action column
if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) {
print '
';
diff --git a/htdocs/comm/mailing/list.php b/htdocs/comm/mailing/list.php
index ce8c94718a5..0d59a52fc09 100644
--- a/htdocs/comm/mailing/list.php
+++ b/htdocs/comm/mailing/list.php
@@ -508,7 +508,7 @@ while ($i < $imaxinloop) {
// Show here line of result
$j = 0;
- print '
';
+ print '
';
// Action column
if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) {
print '
';
diff --git a/htdocs/compta/bank/list.php b/htdocs/compta/bank/list.php
index dca0983244b..0f7dc103859 100644
--- a/htdocs/compta/bank/list.php
+++ b/htdocs/compta/bank/list.php
@@ -658,7 +658,7 @@ foreach ($accounts as $key => $type) {
} else {
// Show line of result
$j = 0;
- print '
';
+ print '
';
// Action column
if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) {
diff --git a/htdocs/compta/bank/various_payment/list.php b/htdocs/compta/bank/various_payment/list.php
index c570082caac..da2d140aed3 100644
--- a/htdocs/compta/bank/various_payment/list.php
+++ b/htdocs/compta/bank/various_payment/list.php
@@ -742,7 +742,7 @@ while ($i < $imaxinloop) {
} else {
// Show here line of result
$j = 0;
- print '
';
+ print '
';
// Action column
if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) {
print '
';
diff --git a/htdocs/compta/cashcontrol/cashcontrol_list.php b/htdocs/compta/cashcontrol/cashcontrol_list.php
index 10031583fcb..b1f4227eb23 100644
--- a/htdocs/compta/cashcontrol/cashcontrol_list.php
+++ b/htdocs/compta/cashcontrol/cashcontrol_list.php
@@ -617,7 +617,7 @@ while ($i < ($limit ? min($num, $limit) : $num)) {
} else {
// Show here line of result
$j = 0;
- print '
';
+ print '
';
// Action column
if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) {
diff --git a/htdocs/compta/paiement/list.php b/htdocs/compta/paiement/list.php
index e0c31b5ec11..3cf5dc2f71f 100644
--- a/htdocs/compta/paiement/list.php
+++ b/htdocs/compta/paiement/list.php
@@ -710,7 +710,7 @@ while ($i < $imaxinloop) {
} else {
// Show line of result
$j = 0;
- print '
';
+ print '
';
// Action column
if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) {
diff --git a/htdocs/compta/tva/list.php b/htdocs/compta/tva/list.php
index ae6b4642ed6..98052f8fb0e 100644
--- a/htdocs/compta/tva/list.php
+++ b/htdocs/compta/tva/list.php
@@ -631,7 +631,7 @@ while ($i < $imaxinloop) {
} else {
// Show here line of result
$j = 0;
- print '
';
+ print '
';
// Action column
if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) {
print '
';
diff --git a/htdocs/contact/list.php b/htdocs/contact/list.php
index 79c6b23a69e..8bdfcfe41e1 100644
--- a/htdocs/contact/list.php
+++ b/htdocs/contact/list.php
@@ -1520,7 +1520,7 @@ while ($i < $imaxinloop) {
}
} else {
// Show here line of result
- print '
';
+ print '
';
// Action column
if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) {
print '
';
diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php
index bd451169a82..a81f98260ea 100644
--- a/htdocs/core/class/commonobject.class.php
+++ b/htdocs/core/class/commonobject.class.php
@@ -554,7 +554,7 @@ abstract class CommonObject
public $multicurrency_code;
/**
- * @var float|float[] Multicurrency rate ("tx" = "taux" in French)
+ * @var null|float|float[] Multicurrency rate ("tx" = "taux" in French)
* Or, just for the Paiement object, an array: invoice ID => currency rate for that invoice.
*/
public $multicurrency_tx;
@@ -758,13 +758,13 @@ abstract class CommonObject
public $user_modification_id;
/**
- * @var int ID
+ * @var int|null ID
* @deprecated Use $user_creation_id
*/
public $fk_user_creat;
/**
- * @var ?int ID
+ * @var int|null ID
* @deprecated Use $user_modification_id
*/
public $fk_user_modif;
@@ -11342,7 +11342,7 @@ abstract class CommonObject
$comment = new Comment($this->db);
$result = $comment->fetchAllFor($this->element, $this->id);
if ($result < 0) {
- $this->errors = array_merge($this->errors, $comment->errors);
+ $this->setErrorsFromObject($comment);
return -1;
} else {
$this->comments = $comment->comments;
diff --git a/htdocs/core/js/listview.js b/htdocs/core/js/listview.js
index 09db31a6977..1e63fef36f3 100644
--- a/htdocs/core/js/listview.js
+++ b/htdocs/core/js/listview.js
@@ -51,7 +51,7 @@ function Listview_modifyUrl(strURL,paramName,paramNewValue){
strURL=strFirstPart+paramNewValue+strLastPart;
}
else{
- if (strURL.search('=')!=-1) // permet de verifier s'il y a dej� des param�tres dans l'URL
+ if (strURL.search('=')!=-1) // permet de verifier s'il y a dejà des paramètres dans l'URL
strURL+='&'+paramName+'='+paramNewValue;
else
strURL+='?'+paramName+'='+paramNewValue;
diff --git a/htdocs/core/modules/mailings/contacts1.modules.php b/htdocs/core/modules/mailings/contacts1.modules.php
index 6a47290e352..7ed274b78b6 100644
--- a/htdocs/core/modules/mailings/contacts1.modules.php
+++ b/htdocs/core/modules/mailings/contacts1.modules.php
@@ -3,7 +3,7 @@
* Copyright (C) 2005-2009 Laurent Destailleur
* Copyright (C) 2005-2009 Regis Houssin
* Copyright (C) 2024-2025 MDW
- * Copyright (C) 2024 Frédéric France
+ * Copyright (C) 2024-2025 Frédéric France
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -37,7 +37,15 @@ class mailing_contacts1 extends MailingTargets
public $name = 'ContactCompanies'; // Identifiant du module mailing
// This label is used if no translation is found for key XXX neither MailingModuleDescXXX where XXX=name is found
public $desc = 'Contacts of thirdparties (prospects, customers, suppliers...)';
+
+ /**
+ * @var string[] This module allows to select by categories must be also enabled if category module is not activated
+ */
public $require_module = array("societe"); // Module mailing actif si modules require_module actifs
+
+ /**
+ * @var int <0,1> Set to 1 if selector is available for admin users only
+ */
public $require_admin = 0; // Module mailing actif pour user admin ou non
/**
diff --git a/htdocs/core/modules/mailings/fraise.modules.php b/htdocs/core/modules/mailings/fraise.modules.php
index a551cebab49..177d3e676df 100644
--- a/htdocs/core/modules/mailings/fraise.modules.php
+++ b/htdocs/core/modules/mailings/fraise.modules.php
@@ -1,7 +1,7 @@
* Copyright (C) 2005-2009 Regis Houssin
- * Copyright (C) 2018-2024 Frédéric France
+ * Copyright (C) 2018-2025 Frédéric France
* Copyright (C) 2024 MDW
*
* This program is free software; you can redistribute it and/or modify
@@ -37,9 +37,15 @@ class mailing_fraise extends MailingTargets
public $name = 'FundationMembers'; // Identifiant du module mailing
// This label is used if no translation is found for key XXX neither MailingModuleDescXXX where XXX=name is found
public $desc = 'Foundation members with emails';
- // Set to 1 if selector is available for admin users only
+
+ /**
+ * @var int <0,1> Set to 1 if selector is available for admin users only
+ */
public $require_admin = 0;
+ /**
+ * @var string[] This module allows to select by categories must be also enabled if category module is not activated
+ */
public $require_module = array('adherent');
/**
diff --git a/htdocs/core/modules/mailings/thirdparties.modules.php b/htdocs/core/modules/mailings/thirdparties.modules.php
index 4385c039596..9039cd3faba 100644
--- a/htdocs/core/modules/mailings/thirdparties.modules.php
+++ b/htdocs/core/modules/mailings/thirdparties.modules.php
@@ -3,7 +3,7 @@
* Copyright (C) 2005-2010 Laurent Destailleur
* Copyright (C) 2005-2009 Regis Houssin
* Copyright (C) 2024-2025 MDW
- * Copyright (C) 2024 Frédéric France
+ * Copyright (C) 2024-2025 Frédéric France
*
* This file is an example to follow to add your own email selector inside
* the Dolibarr email tool.
@@ -37,7 +37,7 @@ class mailing_thirdparties extends MailingTargets
public $desc = "Third parties (by categories)";
/**
- * @var int
+ * @var int<0,1>
*/
public $require_admin = 0;
diff --git a/htdocs/core/modules/mailings/xinputfile.modules.php b/htdocs/core/modules/mailings/xinputfile.modules.php
index 1e2a4818307..a487bd35d7d 100644
--- a/htdocs/core/modules/mailings/xinputfile.modules.php
+++ b/htdocs/core/modules/mailings/xinputfile.modules.php
@@ -1,6 +1,7 @@
* Copyright (C) 2024 MDW
+ * Copyright (C) 2025 Frédéric France
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -33,8 +34,16 @@ class mailing_xinputfile extends MailingTargets
{
public $name = 'EmailsFromFile'; // Identifiant du module mailing
// This label is used if no translation is found for key XXX neither MailingModuleDescXXX where XXX=name is found
- public $desc = 'EMails from a file'; // Libelle utilise si aucune traduction pour MailingModuleDescXXX ou XXX=name trouv�e
+ public $desc = 'EMails from a file'; // Libelle utilise si aucune traduction pour MailingModuleDescXXX ou XXX=name trouvée
+
+ /**
+ * @var string[] This module allows to select by categories must be also enabled if category module is not activated
+ */
public $require_module = array(); // Module mailing actif si modules require_module actifs
+
+ /**
+ * @var int<0,1>
+ */
public $require_admin = 0; // Module mailing actif pour user admin ou non
/**
diff --git a/htdocs/core/modules/mailings/xinputuser.modules.php b/htdocs/core/modules/mailings/xinputuser.modules.php
index 3d4ce3cf34e..72e1f0ee3fa 100644
--- a/htdocs/core/modules/mailings/xinputuser.modules.php
+++ b/htdocs/core/modules/mailings/xinputuser.modules.php
@@ -1,6 +1,7 @@
* Copyright (C) 2024 MDW
+ * Copyright (C) 2025 Frédéric France
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -33,8 +34,16 @@ class mailing_xinputuser extends MailingTargets
{
public $name = 'EmailsFromUser'; // Identifiant du module mailing
// This label is used if no translation is found for key XXX neither MailingModuleDescXXX where XXX=name is found
- public $desc = 'EMails input by user'; // Libelle utilise si aucune traduction pour MailingModuleDescXXX ou XXX=name trouv�e
+ public $desc = 'EMails input by user'; // Libelle utilise si aucune traduction pour MailingModuleDescXXX ou XXX=name trouvée
+
+ /**
+ * @var string[] This module allows to select by categories must be also enabled if category module is not activated
+ */
public $require_module = array(); // Module mailing actif si modules require_module actifs
+
+ /**
+ * @var int<0,1>
+ */
public $require_admin = 0; // Module mailing actif pour user admin ou non
/**
@@ -108,8 +117,8 @@ class mailing_xinputuser extends MailingTargets
{
global $langs;
- $s = '';
- $s .= '';
+ $s = '';
+
return $s;
}
diff --git a/htdocs/cron/list.php b/htdocs/cron/list.php
index 1beac6e5f97..a7d6170bb5d 100644
--- a/htdocs/cron/list.php
+++ b/htdocs/cron/list.php
@@ -556,7 +556,7 @@ if ($num > 0) {
$datelastrun = $db->jdate($obj->datelastrun);
$datelastresult = $db->jdate($obj->datelastresult);
- print '
';
+ print '
';
// Action column
if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) {
diff --git a/htdocs/datapolicy/class/datapolicycron.class.php b/htdocs/datapolicy/class/datapolicycron.class.php
index 9e808f61993..6d02140a37a 100644
--- a/htdocs/datapolicy/class/datapolicycron.class.php
+++ b/htdocs/datapolicy/class/datapolicycron.class.php
@@ -2,7 +2,7 @@
/* Copyright (C) 2018 Nicolas ZABOURI
* Copyright (C) 2018-2025 Frédéric France
* Copyright (C) 2024 William Mead
- * Copyright (C) 2024 MDW
+ * Copyright (C) 2024-2025 MDW
* Copyright (C) 2025 Quentin VIAL--GOUTEYRON
*
* This program is free software: you can redistribute it and/or modify
@@ -273,7 +273,7 @@ class DataPolicyCron
*
* @return int Returns 0 for success, 1 for failure, as required for cron jobs.
*/
- public function cleanDataForDataPolicy() : int
+ public function cleanDataForDataPolicy(): int
{
global $conf, $user;
@@ -411,7 +411,7 @@ class DataPolicyCron
* @param array $policy The policy configuration.
* @return int The result of the update operation, or 0 if skipped.
*/
- private function _handleAnonymize($object, $user, $policy) : int
+ private function _handleAnonymize($object, $user, $policy): int
{
foreach ($policy['anonymize_fields'] as $field => $val) {
if ($val == 'MAKEANONYMOUS') {
@@ -437,7 +437,7 @@ class DataPolicyCron
* @param CommonObject $object The target object.
* @param User $user The user object.
* @param array $policy The policy configuration.
- * @param string $method The method key ('delete' or 'update').
+ * @param 'delete'|'update' $method The method key ('delete' or 'update').
* @return mixed[] The list of arguments for the call.
*/
private function _buildCallArguments($object, $user, $policy, $method)
@@ -449,9 +449,16 @@ class DataPolicyCron
$paramConfig = $policy['call_params'][$method] ?? [];
- return array_map(function (string $paramName) use ($availableArgs) {
- return $availableArgs[$paramName];
- }, $paramConfig);
+ return array_map(
+ /**
+ * @param string$paramName Name of parameter to get
+ * @return mixed Parameter value
+ */
+ static function (string $paramName) use ($availableArgs) {
+ return $availableArgs[$paramName];
+ },
+ $paramConfig
+ );
}
/**
diff --git a/htdocs/don/class/paymentdonation.class.php b/htdocs/don/class/paymentdonation.class.php
index 6ccd7a1827a..2bb9e094302 100644
--- a/htdocs/don/class/paymentdonation.class.php
+++ b/htdocs/don/class/paymentdonation.class.php
@@ -1,6 +1,6 @@
- * Copyright (C) 2024 Frédéric France
+ * Copyright (C) 2024-2025 Frédéric France
* Copyright (C) 2024-2025 MDW
*
* This program is free software; you can redistribute it and/or modify
@@ -52,7 +52,7 @@ class PaymentDonation extends CommonObject
public $rowid;
/**
- * @var int ID
+ * @var ?int ID
*/
public $fk_donation;
@@ -67,7 +67,7 @@ class PaymentDonation extends CommonObject
public $datep = '';
/**
- * @var float amount
+ * @var ?float amount
*/
public $amount; // Total amount of payment
@@ -77,42 +77,42 @@ class PaymentDonation extends CommonObject
public $amounts = array(); // Array of amounts
/**
- * @var int Payment mode ID
+ * @var ?int Payment mode ID
* @deprecated Use $paymenttype
* @see $paymenttype
*/
public $fk_typepayment;
/**
- * @var int Payment mode ID or Code. TODO Use only the code in this field.
+ * @var ?int Payment mode ID or Code. TODO Use only the code in this field.
*/
public $paymenttype;
/**
- * @var string Payment reference
+ * @var ?string Payment reference
* (Cheque or bank transfer reference. Can be "ABC123")
*/
public $num_payment;
/**
- * @var int ID
+ * @var ?int ID
*/
public $fk_bank;
/**
- * @var int ID
+ * @var ?int ID
*/
public $fk_user_creat;
/**
- * @var int ID
+ * @var ?int ID
*/
public $fk_user_modif;
/**
* @deprecated Use $amount, $amounts
* @see $amount, $amounts
- * @var float
+ * @var ?float
*/
public $total;
@@ -320,8 +320,8 @@ class PaymentDonation extends CommonObject
$this->num_payment = $obj->num_payment;
$this->note_public = $obj->note_public;
$this->fk_bank = $obj->fk_bank;
- $this->fk_user_creat = $obj->fk_user_creat;
- $this->fk_user_modif = $obj->fk_user_modif;
+ $this->fk_user_creat = $obj->fk_user_creat;
+ $this->fk_user_modif = $obj->fk_user_modif;
$this->type_code = $obj->type_code;
$this->type_label = $obj->type_label;
@@ -405,17 +405,13 @@ class PaymentDonation extends CommonObject
$this->errors[] = "Error ".$this->db->lasterror();
}
- if (!$error) {
- if (!$notrigger) {
- if (!$error && !$notrigger) {
- // Call triggers
- $result = $this->call_trigger('DONATION_PAYMENT_MODIFY', $user);
- if ($result < 0) {
- $error++;
- }
- // End call triggers
- }
+ if (!$error && !$notrigger) {
+ // Call triggers
+ $result = $this->call_trigger('DONATION_PAYMENT_MODIFY', $user);
+ if ($result < 0) {
+ $error++;
}
+ // End call triggers
}
// Commit or rollback
@@ -443,20 +439,19 @@ class PaymentDonation extends CommonObject
public function delete($user, $notrigger = 0)
{
global $conf, $langs;
+
$error = 0;
$this->db->begin();
- if (!$error) {
- $sql = "DELETE FROM ".MAIN_DB_PREFIX."bank_url";
- $sql .= " WHERE type='payment_donation' AND url_id=".(int) $this->id;
+ $sql = "DELETE FROM ".MAIN_DB_PREFIX."bank_url";
+ $sql .= " WHERE type='payment_donation' AND url_id=".(int) $this->id;
- dol_syslog(get_class($this)."::delete", LOG_DEBUG);
- $resql = $this->db->query($sql);
- if (!$resql) {
- $error++;
- $this->errors[] = "Error ".$this->db->lasterror();
- }
+ dol_syslog(get_class($this)."::delete", LOG_DEBUG);
+ $resql = $this->db->query($sql);
+ if (!$resql) {
+ $error++;
+ $this->errors[] = "Error ".$this->db->lasterror();
}
if (!$error) {
@@ -471,17 +466,13 @@ class PaymentDonation extends CommonObject
}
}
- if (!$error) {
- if (!$notrigger) {
- if (!$error && !$notrigger) {
- // Call triggers
- $result = $this->call_trigger('DONATION_PAYMENT_DELETE', $user);
- if ($result < 0) {
- $error++;
- }
- // End call triggers
- }
+ if (!$error && !$notrigger) {
+ // Call triggers
+ $result = $this->call_trigger('DONATION_PAYMENT_DELETE', $user);
+ if ($result < 0) {
+ $error++;
}
+ // End call triggers
}
// Commit or rollback
@@ -639,7 +630,7 @@ class PaymentDonation extends CommonObject
$this->datep,
(string) $this->paymenttype, // Payment mode id or code ("CHQ or VIR for example")
$label,
- $amount,
+ (float) $amount,
$this->num_payment,
0,
$user,
diff --git a/htdocs/don/list.php b/htdocs/don/list.php
index 717eab52a64..5e84c977f28 100644
--- a/htdocs/don/list.php
+++ b/htdocs/don/list.php
@@ -597,7 +597,7 @@ while ($i < $imaxinloop) {
} else {
// Show line of result
$j = 0;
- print '
';
+ print '
';
// Action column
if ($conf->main_checkbox_left_column) {
diff --git a/htdocs/expedition/class/expedition.class.php b/htdocs/expedition/class/expedition.class.php
index 8551275d894..4ae80b92bfc 100644
--- a/htdocs/expedition/class/expedition.class.php
+++ b/htdocs/expedition/class/expedition.class.php
@@ -276,7 +276,7 @@ class Expedition extends CommonObject
*/
public $multicurrency_code;
/**
- * @var float
+ * @var ?float
*/
public $multicurrency_tx;
/**
diff --git a/htdocs/expedition/list.php b/htdocs/expedition/list.php
index 2c16ba18590..2df3d35c9f0 100644
--- a/htdocs/expedition/list.php
+++ b/htdocs/expedition/list.php
@@ -1525,7 +1525,7 @@ while ($i < $imaxinloop) {
print '
';
}
} else {
- print '
';
+ print '
';
// Action column
if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) {
diff --git a/htdocs/expensereport/class/expensereportline.class.php b/htdocs/expensereport/class/expensereportline.class.php
index 37cf2bc1657..ddce5c718ce 100644
--- a/htdocs/expensereport/class/expensereportline.class.php
+++ b/htdocs/expensereport/class/expensereportline.class.php
@@ -198,7 +198,7 @@ class ExpenseReportLine extends CommonObjectLine
public $multicurrency_code;
/**
- * @var float
+ * @var ?float
*/
public $multicurrency_tx;
diff --git a/htdocs/expensereport/list.php b/htdocs/expensereport/list.php
index 083f15978d0..062d92fcfd1 100644
--- a/htdocs/expensereport/list.php
+++ b/htdocs/expensereport/list.php
@@ -843,7 +843,7 @@ if ($num > 0) {
} else {
// Show line of result
$j = 0;
- print '
';
+ print '
';
// Action column
if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) {
diff --git a/htdocs/fichinter/list.php b/htdocs/fichinter/list.php
index 8f49f5a0bbb..d17fabb671e 100644
--- a/htdocs/fichinter/list.php
+++ b/htdocs/fichinter/list.php
@@ -861,7 +861,7 @@ while ($i < $imaxinloop) {
} else {
// Show here line of result
$j = 0;
- print '
';
+ print '
';
// Action column
if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) {
print '
';
diff --git a/htdocs/fourn/class/fournisseur.commande.class.php b/htdocs/fourn/class/fournisseur.commande.class.php
index 33752c0fa37..0c36ef87656 100644
--- a/htdocs/fourn/class/fournisseur.commande.class.php
+++ b/htdocs/fourn/class/fournisseur.commande.class.php
@@ -330,7 +330,7 @@ class CommandeFournisseur extends CommonOrder
public $multicurrency_code;
/**
- * @var float Rate
+ * @var ?float Rate
*/
public $multicurrency_tx;
diff --git a/htdocs/fourn/commande/list.php b/htdocs/fourn/commande/list.php
index eb41bfb3ba2..694701c8bb5 100644
--- a/htdocs/fourn/commande/list.php
+++ b/htdocs/fourn/commande/list.php
@@ -1843,7 +1843,7 @@ if ($resql) {
print '
';
}
} else {
- print '
';
+ print '
';
// Action column
if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) {
print '
';
// Action column
if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) {
diff --git a/htdocs/holiday/list.php b/htdocs/holiday/list.php
index 21f0285d842..201c7ad378e 100644
--- a/htdocs/holiday/list.php
+++ b/htdocs/holiday/list.php
@@ -909,7 +909,7 @@ if ($id && !$user->hasRight('holiday', 'readall') && !in_array($id, $childids))
} else {
// Show here line of result
$j = 0;
- print '
';
+ print '
';
// Action column
if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) {
print '
';
diff --git a/htdocs/knowledgemanagement/knowledgerecord_list.php b/htdocs/knowledgemanagement/knowledgerecord_list.php
index c70522de2d1..bfa07c23806 100644
--- a/htdocs/knowledgemanagement/knowledgerecord_list.php
+++ b/htdocs/knowledgemanagement/knowledgerecord_list.php
@@ -680,7 +680,7 @@ while ($i < $imaxinloop) {
} else {
// Show here line of result
$j = 0;
- print '
';
+ print '
';
// Action column
if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) {
print '
';
diff --git a/htdocs/partnership/partnership_list.php b/htdocs/partnership/partnership_list.php
index a87dc72cab6..082c9300c17 100644
--- a/htdocs/partnership/partnership_list.php
+++ b/htdocs/partnership/partnership_list.php
@@ -943,7 +943,7 @@ while ($i < $imaxinloop) {
} else {
// Show here line of result
$j = 0;
- print '
';
+ print '
';
// Action column
if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) {
print '
';
diff --git a/htdocs/product/class/productfournisseurprice.class.php b/htdocs/product/class/productfournisseurprice.class.php
index 7a5f5f31cfd..2b1ea94008b 100644
--- a/htdocs/product/class/productfournisseurprice.class.php
+++ b/htdocs/product/class/productfournisseurprice.class.php
@@ -217,7 +217,7 @@ class ProductFournisseurPrice extends CommonObject
*/
public $multicurrency_code;
/**
- * @var float
+ * @var ?float
*/
public $multicurrency_tx;
/**
diff --git a/htdocs/product/inventory/list.php b/htdocs/product/inventory/list.php
index 02a6dca71fe..3a6659a7667 100644
--- a/htdocs/product/inventory/list.php
+++ b/htdocs/product/inventory/list.php
@@ -665,7 +665,7 @@ while ($i < $imaxinloop) {
} else {
// Show here line of result
$j = 0;
- print '
';
+ print '
';
// Action column
if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) {
print '
';
diff --git a/htdocs/product/list.php b/htdocs/product/list.php
index 6f7408f83c1..10216a428cc 100644
--- a/htdocs/product/list.php
+++ b/htdocs/product/list.php
@@ -1700,7 +1700,7 @@ while ($i < $imaxinloop) {
} else {
// Show line of result
$j = 0;
- print '
';
+ print '
';
// Action column
if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) {
diff --git a/htdocs/product/stock/list.php b/htdocs/product/stock/list.php
index 65f81175706..36c6e45405c 100644
--- a/htdocs/product/stock/list.php
+++ b/htdocs/product/stock/list.php
@@ -738,7 +738,7 @@ while ($i < $imaxinloop) {
} else {
// Show line of result
$j = 0;
- print '
';
+ print '
';
// Action column
if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) {
diff --git a/htdocs/projet/list.php b/htdocs/projet/list.php
index c2894bf4f24..510967b46e2 100644
--- a/htdocs/projet/list.php
+++ b/htdocs/projet/list.php
@@ -1901,7 +1901,7 @@ while ($i < $imaxinloop) {
// Show here line of result
$j = 0;
- print '
';
+ print '
';
// Action column
if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) {
print '
';
diff --git a/htdocs/projet/tasks/list.php b/htdocs/projet/tasks/list.php
index 7bf3627b198..ffd9e40f4af 100644
--- a/htdocs/projet/tasks/list.php
+++ b/htdocs/projet/tasks/list.php
@@ -1211,7 +1211,7 @@ while ($i < $imaxinloop) {
if ($userAccess >= 0) {
// Show here line of result
$j = 0;
- print '