diff --git a/ChangeLog b/ChangeLog
index fb83d84bc60..0b0e8695a7b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -198,7 +198,7 @@ Following changes may create regressions for some external modules, but were nec
* Method fetch_all_resources(), fetch_all_used(), fetch_all_available() of DolResource has been removed (they were not used by core code).
* Method fetch_all of DolResource has been renamed into fetchAll() to match naming conventions.
* The hook 'upgrade' and 'doUpgrade2" has been renamed 'doUpgradeBefore' and 'doUpgradeAfterDB'. A new trigger 'doUpgradeAfterFiles' has been introduced.
-
+* The context hook 'suppliercard' when on the supplier tab of a thirdparty has been renamed into 'thirdpartysupplier'
***** ChangeLog for 15.0.2 compared to 15.0.1 *****
diff --git a/htdocs/adherents/card.php b/htdocs/adherents/card.php
index 6fc4c45574a..4f92b9766ea 100644
--- a/htdocs/adherents/card.php
+++ b/htdocs/adherents/card.php
@@ -1284,7 +1284,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) {
$maxfilesizearray = getMaxFileSizeArray();
$maxmin = $maxfilesizearray['maxmin'];
if ($maxmin > 0) {
- print ''; // MAX_FILE_SIZE must precede the field type=file
+ print ''; // MAX_FILE_SIZE must precede the field type=file
}
print '';
print '';
diff --git a/htdocs/admin/company.php b/htdocs/admin/company.php
index 4f46a2a32b5..c72976f829e 100644
--- a/htdocs/admin/company.php
+++ b/htdocs/admin/company.php
@@ -480,7 +480,7 @@ print '
'; // MAX_FILE_SIZE must precede the field type=file
+ print ''; // MAX_FILE_SIZE must precede the field type=file
}
print '';
print '
';
@@ -522,7 +522,7 @@ print '
'; // MAX_FILE_SIZE must precede the field type=file
+ print ''; // MAX_FILE_SIZE must precede the field type=file
}
print '';
print '
';
diff --git a/htdocs/admin/ihm.php b/htdocs/admin/ihm.php
index 37d1757d783..959d881041d 100644
--- a/htdocs/admin/ihm.php
+++ b/htdocs/admin/ihm.php
@@ -639,7 +639,7 @@ if ($mode == 'login') {
$maxfilesizearray = getMaxFileSizeArray();
$maxmin = $maxfilesizearray['maxmin'];
if ($maxmin > 0) {
- print ''; // MAX_FILE_SIZE must precede the field type=file
+ print ''; // MAX_FILE_SIZE must precede the field type=file
}
print '';
if ($disabled) {
diff --git a/htdocs/admin/modules.php b/htdocs/admin/modules.php
index 0db1b26dc7d..286ccc424e8 100644
--- a/htdocs/admin/modules.php
+++ b/htdocs/admin/modules.php
@@ -1212,7 +1212,7 @@ if ($mode == 'deploy') {
});
'."\n";
// MAX_FILE_SIZE doit précéder le champ input de type file
- print '';
+ print '';
}
print ' ';
diff --git a/htdocs/comm/mailing/card.php b/htdocs/comm/mailing/card.php
index 166aa4292be..15406da9211 100644
--- a/htdocs/comm/mailing/card.php
+++ b/htdocs/comm/mailing/card.php
@@ -1252,7 +1252,7 @@ if ($action == 'create') {
$maxfilesizearray = getMaxFileSizeArray();
$maxmin = $maxfilesizearray['maxmin'];
if ($maxmin > 0) {
- $out .= ''; // MAX_FILE_SIZE must precede the field type=file
+ $out .= ''; // MAX_FILE_SIZE must precede the field type=file
}
$out .= '';
$out .= ' ';
diff --git a/htdocs/contact/card.php b/htdocs/contact/card.php
index 4762404af9c..67b144ffd89 100644
--- a/htdocs/contact/card.php
+++ b/htdocs/contact/card.php
@@ -1275,7 +1275,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) {
$maxfilesizearray = getMaxFileSizeArray();
$maxmin = $maxfilesizearray['maxmin'];
if ($maxmin > 0) {
- print ''; // MAX_FILE_SIZE must precede the field type=file
+ print ''; // MAX_FILE_SIZE must precede the field type=file
}
print '';
print '';
diff --git a/htdocs/contact/perso.php b/htdocs/contact/perso.php
index 230a8d148d3..6030fc1e6bd 100644
--- a/htdocs/contact/perso.php
+++ b/htdocs/contact/perso.php
@@ -163,7 +163,7 @@ if ($action == 'edit') {
$maxfilesizearray = getMaxFileSizeArray();
$maxmin = $maxfilesizearray['maxmin'];
if ($maxmin > 0) {
- print ''; // MAX_FILE_SIZE must precede the field type=file
+ print ''; // MAX_FILE_SIZE must precede the field type=file
}
print '';
print '';
diff --git a/htdocs/contrat/card.php b/htdocs/contrat/card.php
index ecc8ec22660..0f61ecada43 100644
--- a/htdocs/contrat/card.php
+++ b/htdocs/contrat/card.php
@@ -1415,7 +1415,7 @@ if ($action == 'create') {
}
- $arrayothercontracts = $object->getListOfContracts('others');
+ $arrayothercontracts = $object->getListOfContracts('others'); // array or -1 if technical error
/*
* Lines of contracts
@@ -1544,9 +1544,9 @@ if ($action == 'create') {
print '