diff --git a/htdocs/compta/bank/various_payment/list.php b/htdocs/compta/bank/various_payment/list.php
index bbec4f23fc6..aee94288d50 100644
--- a/htdocs/compta/bank/various_payment/list.php
+++ b/htdocs/compta/bank/various_payment/list.php
@@ -650,6 +650,7 @@ if ($result) {
// Accounting account
if ($arrayfields['account']['checked']) {
+ require_once DOL_DOCUMENT_ROOT.'/core/lib/accounting.lib.php';
$accountingaccount->fetch('', $obj->accountancy_code, 1);
print '
'.$accountingaccount->getNomUrl(0, 1, 1, '', 1).' | ';
diff --git a/htdocs/projet/activity/permonth.php b/htdocs/projet/activity/permonth.php
index 8238d112b7b..94193ee9982 100644
--- a/htdocs/projet/activity/permonth.php
+++ b/htdocs/projet/activity/permonth.php
@@ -418,7 +418,7 @@ if (! empty($conf->categorie->enabled))
// If the user can view user other than himself
$moreforfilter .= '';
$moreforfilter .= '
';
-$includeonly = 'hierachyme';
+$includeonly = 'hierarchyme';
if (empty($user->rights->user->user->lire)) {
$includeonly = array($user->id);
}