Update index.php

This commit is contained in:
Laurent Destailleur 2017-10-22 02:21:04 +02:00 committed by GitHub
parent f4db4373ea
commit 210fb5206c

View File

@ -61,7 +61,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') {
$error = 0;