Fix regression
This commit is contained in:
parent
b2d9ade2d3
commit
df345945ad
@ -628,7 +628,6 @@ if ($mode == 'show_day') {
|
|||||||
if ($type) {
|
if ($type) {
|
||||||
$sql .= " AND ca.id = ".((int) $type);
|
$sql .= " AND ca.id = ".((int) $type);
|
||||||
}
|
}
|
||||||
var_dump($status);
|
|
||||||
if ($status == '0') {
|
if ($status == '0') {
|
||||||
$sql .= " AND a.percent = 0";
|
$sql .= " AND a.percent = 0";
|
||||||
}
|
}
|
||||||
@ -659,7 +658,6 @@ if ($filtert > 0 || $usergroup > 0) {
|
|||||||
}
|
}
|
||||||
// Sort on date
|
// Sort on date
|
||||||
$sql .= ' ORDER BY fk_user_action, datep'; //fk_user_action
|
$sql .= ' ORDER BY fk_user_action, datep'; //fk_user_action
|
||||||
print $sql;
|
|
||||||
|
|
||||||
dol_syslog("comm/action/peruser.php", LOG_DEBUG);
|
dol_syslog("comm/action/peruser.php", LOG_DEBUG);
|
||||||
$resql = $db->query($sql);
|
$resql = $db->query($sql);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user