From d36c8ab0f04a863b5ec0ba2bf3d312bc6caaa3df Mon Sep 17 00:00:00 2001 From: Lamrani Abdel Date: Mon, 20 Feb 2023 16:56:02 +0100 Subject: [PATCH] fix problem in class project --- htdocs/projet/class/project.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/projet/class/project.class.php b/htdocs/projet/class/project.class.php index 1f976404f56..f78ac8c2585 100644 --- a/htdocs/projet/class/project.class.php +++ b/htdocs/projet/class/project.class.php @@ -2381,7 +2381,7 @@ class Project extends CommonObject */ public function getKanbanView($option = '') { - global $langs,$db,$user; + global $langs,$user; $return = '
'; $return .= '
'; $return .= ''; @@ -2392,7 +2392,7 @@ class Project extends CommonObject $return .= ''.(method_exists($this, 'getNomUrl') ? $this->getNomUrl() : $this->ref).''; if (property_exists($this, 'date_start_event')) { $return .= '
'.$langs->trans("DateStart").''; - $return .= ' : '.dol_print_date($db->jdate($this->date_start_event), 'day').''; + $return .= ' : '.dol_print_date($this->db->jdate($this->date_start_event), 'day').''; } if (property_exists($this, 'user_author_id')) { $return .= '
'.$langs->trans("Author").'';