From: Gérald Sédrati Date: Thu, 15 May 2025 08:17:10 +0000 (+0200) Subject: Avoid warning when there is no draft yet X-Git-Url: http://git.home-dn.net/?a=commitdiff_plain;h=3a591bf7bf961cead54be405b79d22a28fb985db;p=manu%2FRT-Extension-Drafts.git Avoid warning when there is no draft yet --- 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 ) { % }