From b8d7825b6f0802db3ff13675136790b7f6b5e7df Mon Sep 17 00:00:00 2001 From: Erik van Berkum Date: Sun, 22 Dec 2024 16:02:36 +0900 Subject: [PATCH] Update ticket.class.php Solves issue #30890 Blank dashboard after upgrade 19.0.3 to 20.0.2 --- htdocs/ticket/class/ticket.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/ticket/class/ticket.class.php b/htdocs/ticket/class/ticket.class.php index 9121d0ec0325e..e0da84aa3d97a 100644 --- a/htdocs/ticket/class/ticket.class.php +++ b/htdocs/ticket/class/ticket.class.php @@ -3192,7 +3192,7 @@ public function load_board($user, $mode) while ($obj = $this->db->fetch_object($resql)) { $response->nbtodo++; if ($mode == 'opened') { - $datelimit = $this->db->jdate($obj->datec) + $delay_warning; + $datelimit = (int) $this->db->jdate($obj->datec) + (int) $delay_warning; if ($datelimit < $now) { //$response->nbtodolate++; }