From c7bd19144f0d7313a537a4bb8295a4393b5d69f7 Mon Sep 17 00:00:00 2001 From: liumengyi Date: Thu, 16 Mar 2023 06:27:23 +0000 Subject: [PATCH] * Fix bug #32991. --- module/story/model.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/story/model.php b/module/story/model.php index ecefa374c6..62b9f45c64 100644 --- a/module/story/model.php +++ b/module/story/model.php @@ -1591,6 +1591,7 @@ class storyModel extends model ->setDefault('reviewedDate', $date) ->stripTags($this->config->story->editor->review['id'], $this->config->allowedTags) ->setIF(!$this->post->assignedTo, 'assignedTo', '') + ->setIF(!empty($_POST['assignedTo']), 'assignedDate', $now) ->removeIF($this->post->result != 'reject', 'closedReason, duplicateStory, childStories') ->removeIF($this->post->result == 'reject' and $this->post->closedReason != 'duplicate', 'duplicateStory') ->removeIF($this->post->result == 'reject' and $this->post->closedReason != 'subdivided', 'childStories')