diff --git a/api/v1/entries/stories.php b/api/v1/entries/stories.php index d00d8d10a2..af5333b2bc 100644 --- a/api/v1/entries/stories.php +++ b/api/v1/entries/stories.php @@ -58,7 +58,8 @@ class storiesEntry extends entry $this->batchSetPost($fields); /* If reviewer is not post, set needNotReview. */ - if(empty($this->request('reviewer'))) $this->setPost('needNotReview', 1); + $reviewer = $this->request('reviewer'); + if(empty($reviewer)) $this->setPost('needNotReview', 1); $this->setPost('product', $productID); $this->setPost('type', $this->param('type', 'story'));