diff --git a/htdocs/admin/compta.php b/htdocs/admin/compta.php index c9f7ef49912..c0ae0c59279 100644 --- a/htdocs/admin/compta.php +++ b/htdocs/admin/compta.php @@ -54,7 +54,7 @@ $list = array( * Actions */ -$accounting_mode = $conf->global->ACCOUNTING_MODE; +$accounting_mode = empty($conf->global->ACCOUNTING_MODE) ? 'RECETTES-DEPENSES' : $conf->global->ACCOUNTING_MODE; if ($action == 'update') {