From 752078777096eb90f055fb75798430e1e97949a8 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Sat, 30 Jun 2012 16:40:12 +0000 Subject: [PATCH] bug follow_up::get_late --- include/class_follow_up.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/class_follow_up.php b/include/class_follow_up.php index 3e6befb58..c19ef099d 100644 --- a/include/class_follow_up.php +++ b/include/class_follow_up.php @@ -1035,7 +1035,7 @@ class Follow_Up $sql = "select coalesce(vw_name,'Interne') as vw_name,ag_id,ag_title,ag_ref, dt_value,to_char(ag_timestamp,'DD.MM.YYYY') as ag_timestamp_fmt,ag_timestamp " . " from action_gestion join document_type " . " on (ag_type=dt_id) left join vw_fiche_attr on (f_id=f_id_dest) where ag_state not in (1,4) - and to_char(ag_remind_date,'DDMMYYYY')<=to_char(now(),'DDMMYYYY') "; + and ag_remind_date > trunc (now()) "; $array = $this->db->get_array($sql); return $array; }