From 381ddbe799cbc1cd76bb0a6ba2da0a0df83013f7 Mon Sep 17 00:00:00 2001 From: Maximilien Rozniecki Date: Wed, 24 May 2023 17:04:55 +0200 Subject: [PATCH] Fix travis --- htdocs/ticket/class/actions_ticket.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/ticket/class/actions_ticket.class.php b/htdocs/ticket/class/actions_ticket.class.php index 9547794236e..809f2c3128c 100644 --- a/htdocs/ticket/class/actions_ticket.class.php +++ b/htdocs/ticket/class/actions_ticket.class.php @@ -331,7 +331,7 @@ class ActionsTicket $sql = 'SELECT ecm.rowid as id, ecm.src_object_type, ecm.src_object_id'; $sql .= ', ecm.filepath, ecm.filename, ecm.share'; $sql .= ' FROM '.MAIN_DB_PREFIX.'ecm_files ecm'; - $sql .= ' WHERE ecm.filepath = \'agenda/'.$arraymsgs['id'].'\''; + $sql .= " WHERE ecm.filepath = 'agenda/".$arraymsgs['id']."'"; $sql .= ' ORDER BY ecm.position ASC'; $resql = $this->db->query($sql);