From e3a73fe144197c8f63af11fe299ea89ee5e5b9da Mon Sep 17 00:00:00 2001 From: z Date: Fri, 24 Jul 2020 08:58:42 +0800 Subject: [PATCH] * adjust for flow with textarea. --- module/story/model.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/story/model.php b/module/story/model.php index b5ebeefb40..d7263016f3 100644 --- a/module/story/model.php +++ b/module/story/model.php @@ -545,6 +545,7 @@ class storyModel extends model ->setIF($this->post->closedBy != false or $this->post->closedReason != false, 'status', 'closed') ->setIF($this->post->closedReason != false and $this->post->closedBy == false, 'closedBy', $this->app->user->account) ->setIF(!empty($_POST['plan'][0]) and $oldStory->stage == 'wait', 'stage', 'planned') + ->stripTags($this->config->story->editor->edit['id'], $this->config->allowedTags) ->join('reviewedBy', ',') ->join('mailto', ',') ->join('linkStories', ',')