From b176d1a59d861be0b4965981cd7091e5e86737fe Mon Sep 17 00:00:00 2001
From: BENKE Charlene <1179011+defrance@users.noreply.github.com>
Date: Thu, 9 Jun 2022 23:17:29 +0200
Subject: [PATCH] not my best day
---
htdocs/projet/class/project.class.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/htdocs/projet/class/project.class.php b/htdocs/projet/class/project.class.php
index 9937a551c1a..28c8cb656d1 100644
--- a/htdocs/projet/class/project.class.php
+++ b/htdocs/projet/class/project.class.php
@@ -1216,7 +1216,7 @@ class Project extends CommonObject
if (!empty($this->date_start)) {
$label .= ($label ? '
' : '').''.$langs->trans('DateStart').': '.dol_print_date($this->date_start, 'day'); // The space must be after the : to not being explode when showing the title in img_picto
}
- if (!empty($this->date_ent)) {
+ if (!empty($this->date_end)) {
$label .= ($label ? '
' : '').''.$langs->trans('DateEnd').': '.dol_print_date($this->date_end, 'day'); // The space must be after the : to not being explode when showing the title in img_picto
}
if ($moreinpopup) {