';
print "\n";
@@ -411,8 +412,8 @@ if ($mode == 'overwrite') {
// Multi company
if (isModEnabled('multicompany') && !$user->entity) {
- print '
';
- print '';
+ print '
';
+ print '';
print '
';
}
@@ -477,7 +478,7 @@ if ($mode == 'overwrite') {
// Entity limit to superadmin
if (isModEnabled('multicompany') && empty($user->entity)) {
- print '
';
+ print '
';
if ($action == 'edit' && $obj->rowid == GETPOSTINT('rowid')) {
print '';
} else {
diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php
index f8f0c7b863c..08b0254cc10 100644
--- a/htdocs/core/lib/functions.lib.php
+++ b/htdocs/core/lib/functions.lib.php
@@ -6680,7 +6680,7 @@ function print_fiche_titre($title, $mesg = '', $picto = 'generic', $pictoisfullp
/**
* Load a title with picto
*
- * @param string $title Title to show (HTML sanitized content)
+ * @param string $title Title to show (HTML sanitized content). Can be a string with a as a substring.
* @param string $morehtmlright Added message to show on right
* @param string $picto Icon to use before title (should be a 32x32 transparent png file)
* @param int<0,1> $pictoisfullpath 1=Icon name is a full absolute url of image