diff --git a/scp/pages.php b/scp/pages.php index 2f7bc6baf19f0663bf2ec3eb04c47a8ac8ad49ca..c761d92e2e84a1fdcb57b5d02e134213711c81d5 100644 --- a/scp/pages.php +++ b/scp/pages.php @@ -48,7 +48,6 @@ if($_POST) { $page->attachments->upload( Draft::getAttachmentIds($_POST['body']), true); - } Draft::deleteForNamespace('page.'.$page->getId()); } elseif(!$errors['err']) $errors['err'] = sprintf(__('Unable to update %s. Correct error(s) below and try again.'),