From e990eb9221b2d186da481bc3c852936c4e39ff12 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Tue, 5 Oct 2010 18:32:35 +0000 Subject: [PATCH] Mantis #3: action are not seen in calendar --- include/class_action.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/class_action.php b/include/class_action.php index 32f39ce23..47a58ac59 100644 --- a/include/class_action.php +++ b/include/class_action.php @@ -892,7 +892,6 @@ class Action { // if ag_id == 0 nothing to do if ( $this->ag_id == 0 ) return ; - // retrieve customer // f_id @@ -994,7 +993,7 @@ class Action $this->ag_hour=(isset($p_array['ag_hour']))?$p_array['ag_hour']:""; $this->ag_dest=(isset($p_array['ag_dest']))?$p_array['ag_dest']:""; $this->ag_priority=(isset($p_array['ag_priority']))?$p_array['ag_priority']:2; - $this->ag_cal=(isset($p_array['ag_cal']))?$p_array['ag_cal']:""; + $this->ag_cal=(isset($p_array['ag_cal']))?'on':""; $this->ag_contact=(isset($p_array['ag_contact']))?$p_array['ag_contact']:""; $this->ag_comment=(isset($p_array['ag_comment']))?$p_array['ag_comment']:"";