Skip to content

Commit

Permalink
Merge pull request #11479 from atm-gauthier/8.0_fix_report_by_tva
Browse files Browse the repository at this point in the history
FIX : accounting mode must be taken from global conf, because there's…
  • Loading branch information
eldy committed Jul 13, 2019
2 parents 4dabdfa + b6571d9 commit f285bed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/compta/stats/byratecountry.php
Expand Up @@ -37,7 +37,7 @@
// Load translation files required by the page
$langs->loadLangs(array("other","compta","banks","bills","companies","product","trips","admin","accountancy"));

$modecompta = GETPOST('modecompta','alpha');
$modecompta = (GETPOST('modecompta', 'alpha') ? GETPOST('modecompta', 'alpha') : $conf->global->ACCOUNTING_MODE);

// Date range
$year=GETPOST("year",'int');
Expand Down

0 comments on commit f285bed

Please sign in to comment.