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')