mirror of
https://github.com/typecho/typecho.git
synced 2025-04-21 18:21:53 +02:00
commit
df5f747975
@ -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);
|
||||
}
|
||||
|
||||
/** 直接将草稿状态更改 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user