diff --git a/htdocs/accountancy/bookkeeping/balance.php b/htdocs/accountancy/bookkeeping/balance.php
index 01d89f1168d..af317e7a361 100644
--- a/htdocs/accountancy/bookkeeping/balance.php
+++ b/htdocs/accountancy/bookkeeping/balance.php
@@ -427,7 +427,7 @@ if ($action != 'export_csv') {
// Show first line of a break
print '
';
- print '| '.$line->numero_compte.($root_account_description ? ' - '.$root_account_description : '').' | ';
+ print ''.$root_account_number.($root_account_description ? ' - '.$root_account_description : '').' | ';
print '
';
$displayed_account = $root_account_number;
diff --git a/htdocs/core/lib/expensereport.lib.php b/htdocs/core/lib/expensereport.lib.php
index ae9ca936c47..58401b4cc59 100644
--- a/htdocs/core/lib/expensereport.lib.php
+++ b/htdocs/core/lib/expensereport.lib.php
@@ -81,7 +81,7 @@ function expensereport_prepare_head($object)
$head[$h][2] = 'info';
$h++;
- complete_head_from_modules($conf, $langs, $object, $head, $h, 'donation', 'add', 'external');
+ complete_head_from_modules($conf, $langs, $object, $head, $h, 'expensereport', 'add', 'external');
complete_head_from_modules($conf, $langs, $object, $head, $h, 'expensereport', 'remove');