* Fix bug #46090.
This commit is contained in:
@@ -790,6 +790,8 @@ class story extends control
|
||||
->removeIF($this->post->closedReason != 'duplicate', 'duplicateStory')
|
||||
->removeIF($this->post->closedReason != 'subdivided', 'childStories')
|
||||
->get();
|
||||
|
||||
if(strpos($this->config->{$story->type}->change->requiredFields, 'comment') !== false and !$this->post->comment) $this->send(array('result' => 'fail', 'message' => array('comment' => sprintf($this->lang->error->notempty, $this->lang->comment))));
|
||||
$postData = $this->loadModel('file')->processImgURL($postData, $this->config->story->editor->close['id'], $this->post->uid);
|
||||
|
||||
$changes = $this->story->close($storyID, $postData);
|
||||
|
||||
Reference in New Issue
Block a user