From 2f77bec6c339e71bbefcbaffc19ab6fdf872f2fe Mon Sep 17 00:00:00 2001 From: tianshujie Date: Fri, 23 May 2025 13:47:49 +0800 Subject: [PATCH] * [bug#62817,done,0.5h] fix the loss of linked objects when batch edit bugs. --- module/bug/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/bug/model.php b/module/bug/model.php index 62fab6cb23..cd61b8cefd 100644 --- a/module/bug/model.php +++ b/module/bug/model.php @@ -344,7 +344,7 @@ class bugModel extends model if($changes) $this->action->logHistory($actionID, $changes); } - if($this->config->edition != 'open') + if($this->config->edition != 'open' && $this->app->rawMethod != 'batchedit') { if($oldBug->story > 0 || $oldBug->task > 0 || $oldBug->case > 0) {