diff --git a/htdocs/admin/agenda_reminder.php b/htdocs/admin/agenda_reminder.php
index fac49dcfcde..76b69073f25 100644
--- a/htdocs/admin/agenda_reminder.php
+++ b/htdocs/admin/agenda_reminder.php
@@ -29,9 +29,7 @@ require_once DOL_DOCUMENT_ROOT.'/core/class/html.formactions.class.php';
if (!$user->admin)
accessforbidden();
-$langs->load("admin");
-$langs->load("other");
-$langs->load("agenda");
+$langs->loadLangs(array("admin","other","agenda"));
$action = GETPOST('action','alpha');
$value = GETPOST('value','alpha');
@@ -173,8 +171,6 @@ llxHeader();
$linkback=''.$langs->trans("BackToModuleList").'';
print load_fiche_titre($langs->trans("AgendaSetup"),$linkback,'title_setup');
-print "
\n";
-
diff --git a/htdocs/product/class/product.class.php b/htdocs/product/class/product.class.php
index 2f36fd59035..f2c59f95925 100644
--- a/htdocs/product/class/product.class.php
+++ b/htdocs/product/class/product.class.php
@@ -3514,6 +3514,7 @@ class Product extends CommonObject
}
if (! empty($conf->accounting->enabled) && $this->status_buy)
{
+ include_once DOL_DOCUMENT_ROOT.'/core/lib/accounting.lib.php';
$label.= '
' . $langs->trans('ProductAccountancyBuyCode') . ': '. length_accountg($this->accountancy_code_buy);
}
if (! empty($this->entity))