From 38a2a3b32e2d3b13efeb70dd5a41b89336f7e92b Mon Sep 17 00:00:00 2001 From: xieqiyu Date: Fri, 21 Feb 2025 10:30:01 +0800 Subject: [PATCH] * [bug#59893] Remove the file when doc template add comment. --- module/action/ui/comment.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/action/ui/comment.html.php b/module/action/ui/comment.html.php index c1c33eefea..6ba25b98d1 100644 --- a/module/action/ui/comment.html.php +++ b/module/action/ui/comment.html.php @@ -24,6 +24,6 @@ form ( set::name('actioncomment') ), - $objectType != 'story' ? fileSelector() : null, + !in_array($objectType, array('story', 'doctemplate')) ? fileSelector() : null, set::actions($actions) );