This commit is contained in:
leenzhu
2018-07-21 20:27:52 +08:00
parent a2d21f1042
commit 68db3cd2ab

View File

@@ -257,8 +257,9 @@ class Widget_Contents_Post_Edit extends Widget_Abstract_Contents implements Widg
/** 如果它本身不是草稿, 需要删除其草稿 */
if (!$isDraftToPublish && $this->draft) {
$this->deleteDraft($this->draft['cid']);
$this->deleteFields($this->draft['cid']);
$cid = $this->draft['cid'];
$this->deleteDraft($cid);
$this->deleteFields($cid);
}
/** 直接将草稿状态更改 */