From 3a591bf7bf961cead54be405b79d22a28fb985db Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=A9rald=20S=C3=A9drati?= Date: Thu, 15 May 2025 10:17:10 +0200 Subject: [PATCH] Avoid warning when there is no draft yet --- html/Callbacks/Drafts/Ticket/Update.html/AfterMessageBox | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/Callbacks/Drafts/Ticket/Update.html/AfterMessageBox b/html/Callbacks/Drafts/Ticket/Update.html/AfterMessageBox index fb9e389..cb0b52d 100644 --- a/html/Callbacks/Drafts/Ticket/Update.html/AfterMessageBox +++ b/html/Callbacks/Drafts/Ticket/Update.html/AfterMessageBox @@ -1,4 +1,4 @@ -% if ( $Draft && $Draft->Content ) { +% if ( $Draft && $Draft->id && $Draft->Content ) { % } -- 2.11.0