Fix regression

This commit is contained in:
Laurent Destailleur 2023-01-19 01:28:04 +01:00
parent b2d9ade2d3
commit df345945ad

View File

@ -628,7 +628,6 @@ if ($mode == 'show_day') {
if ($type) {
$sql .= " AND ca.id = ".((int) $type);
}
var_dump($status);
if ($status == '0') {
$sql .= " AND a.percent = 0";
}
@ -659,7 +658,6 @@ if ($filtert > 0 || $usergroup > 0) {
}
// Sort on date
$sql .= ' ORDER BY fk_user_action, datep'; //fk_user_action
print $sql;
dol_syslog("comm/action/peruser.php", LOG_DEBUG);
$resql = $db->query($sql);