code for bug #17465.

This commit is contained in:
王怡栋
2021-12-14 09:37:42 +08:00
parent 1bc35c32c4
commit 0899d3ddea
+2 -1
View File
@@ -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'));