diff --git a/htdocs/comm/action/card.php b/htdocs/comm/action/card.php index 2c1ce5e05aa..97d8b077dbc 100644 --- a/htdocs/comm/action/card.php +++ b/htdocs/comm/action/card.php @@ -2425,7 +2425,7 @@ if ($id > 0) { $tmpuserstatic = new User($db); foreach ($object->reminders as $actioncommreminderid => $actioncommreminder) { - print $TRemindTypes[$actioncommreminder->typeremind]; + print $TRemindTypes[$actioncommreminder->typeremind]['label']; if ($actioncommreminder->fk_user > 0) { $tmpuserstatic->fetch($actioncommreminder->fk_user); print ' ('.$tmpuserstatic->getNomUrl(0, '', 0, 0, 16).')'; diff --git a/htdocs/core/modules/mailings/contacts1.modules.php b/htdocs/core/modules/mailings/contacts1.modules.php index be77cf155d2..36be5bf40b3 100644 --- a/htdocs/core/modules/mailings/contacts1.modules.php +++ b/htdocs/core/modules/mailings/contacts1.modules.php @@ -314,6 +314,7 @@ class mailing_contacts1 extends MailingTargets $s .= ''.$langs->trans("DefaultLang").': '; $s .= $formadmin->select_language($langs->getDefaultLang(1), 'filter_lang', 0, 0, 1, 0, 0, '', 0, 0, 0, null, 1); } + return $s; } diff --git a/htdocs/product/inventory/inventory.php b/htdocs/product/inventory/inventory.php index db0b90286b7..506b6e0c198 100644 --- a/htdocs/product/inventory/inventory.php +++ b/htdocs/product/inventory/inventory.php @@ -603,7 +603,7 @@ if ($object->id > 0) { if ($permissiontoadd) { // Link to launch scan tool if (isModEnabled('barcode') || isModEnabled('productbatch')) { - print ''.img_picto('', 'barcode', 'class="paddingrightonly"').$langs->trans("UpdateByScaning").''; + print ''.img_picto('', 'barcode', 'class="paddingrightonly"').$langs->trans("UpdateByScaning").''; } // Link to autofill