Skip to content
Snippets Groups Projects
Commit 0639bafa authored by Frédéric France's avatar Frédéric France Committed by GitHub
Browse files

Update list.php

parent f8b1d0d7
No related branches found
No related tags found
No related merge requests found
......@@ -174,7 +174,7 @@ if (GETPOST('statut', 'alpha') !== '')
$sql .= " AND cf.fk_statut IN (".GETPOST('statut', 'alpha').")";
}
if ($billed !== '')
if ($billed !== '' && $billed >= 0)
{
$sql .= " AND cf.billed = ".$billed;
}
......@@ -215,7 +215,7 @@ if ($resql)
if ($search_refsupp) $param.="&search_refsupp=".$search_refsupp;
if ($socid) $param.="&socid=".$socid;
if ($search_status >= 0) $param.="&search_status=".$search_status;
if ($billed != '') $param.="billed=".$billed;
if ($billed != '') $param.="&billed=".$billed;
if ($optioncss != '') $param.='&optioncss='.$optioncss;
print_barre_liste($title, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, '', $num, $nbtotalofrecords);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment