Merge pull request #20497 from OPEN-DSI/14.0_fix_compta_stats_casoc

FIX - Fix search by filters
This commit is contained in:
Laurent Destailleur 2022-03-31 15:55:55 +02:00 committed by GitHub
commit c5a67f074b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,6 +57,7 @@ $socid = GETPOST('socid', 'int');
// Category
$selected_cat = (int) GETPOST('search_categ', 'int');
if ($selected_cat == -1) $selected_cat = '';
$subcat = false;
if (GETPOST('subcat', 'alpha') === 'yes') {
$subcat = true;