* Fix bug.

This commit is contained in:
sunguangming
2024-01-29 15:21:02 +08:00
parent 5308543a55
commit 3c488cbcb6
+1 -1
View File
@@ -591,7 +591,7 @@ class story extends control
$storyData = $this->storyZen->buildStoryForReview($storyID);
if(dao::isError()) return $this->send(array('result' => 'fail', 'message' => dao::getError()));
$this->story->review($storyID, $storyData, $this->post->comment);
$this->story->review($storyID, $storyData, (string)$this->post->comment);
if(dao::isError()) return $this->send(array('result' => 'fail', 'message' => dao::getError()));
$message = $this->executeHooks($storyID);