Skip to content

Commit

Permalink
Clean search_status
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jan 13, 2022
1 parent 1efbff8 commit dc3670b
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion htdocs/compta/paiement/list.php
Expand Up @@ -293,7 +293,6 @@
print '<input type="hidden" name="formfilteraction" id="formfilteraction" value="list">';
print '<input type="hidden" name="sortfield" value="'.$sortfield.'">';
print '<input type="hidden" name="sortorder" value="'.$sortorder.'">';
print '<input type="hidden" name="search_status" value="'.$search_status.'">';
print '<input type="hidden" name="contextpage" value="'.$contextpage.'">';

print_barre_liste($langs->trans("ReceivedCustomersPayments"), $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, '', $num, $nbtotalofrecords, 'bill', 0, '', '', $limit, 0, 0, 1);
Expand Down
2 changes: 1 addition & 1 deletion htdocs/expedition/list.php
Expand Up @@ -94,7 +94,7 @@
$pageprev = $page - 1;
$pagenext = $page + 1;

$search_status = GETPOST('search_status');
$search_status = GETPOST('search_status', 'intcomma');

$diroutputmassaction = $conf->expedition->dir_output.'/sending/temp/massgeneration/'.$user->id;

Expand Down
2 changes: 1 addition & 1 deletion htdocs/reception/list.php
Expand Up @@ -75,7 +75,7 @@
// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
$contextpage = 'receptionlist';

$search_status = GETPOST('search_status');
$search_status = GETPOST('search_status', 'intcomma');

$object = new Reception($db);

Expand Down
2 changes: 0 additions & 2 deletions htdocs/societe/website.php
Expand Up @@ -43,8 +43,6 @@
$backtopage = GETPOST('backtopage', 'alpha'); // Go back to a dedicated page
$optioncss = GETPOST('optioncss', 'aZ'); // Option for the css output (always '' except when 'print')

$search_status = GETPOST('search_status');

// Security check
$id = GETPOST('id', 'int') ?GETPOST('id', 'int') : GETPOST('socid', 'int');
if ($user->socid) {
Expand Down

0 comments on commit dc3670b

Please sign in to comment.