From cd732b4dd6899a3848a645fc50cb8775bb874237 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Mon, 15 Jan 2024 21:44:13 -0500 Subject: [PATCH] Do not allow the deletion of Parent document under revisions, create new function to delete document version and redirect back to the parent document, also delete all versions of the document if deleted from the document list --- client_document_details.php | 12 ++++++--- post/document.php | 53 ++++++++++++++++++++++++++++++++++--- 2 files changed, 58 insertions(+), 7 deletions(-) diff --git a/client_document_details.php b/client_document_details.php index 11e3612b..579f6667 100644 --- a/client_document_details.php +++ b/client_document_details.php @@ -274,10 +274,14 @@ $document_parent = intval($row['document_parent']); ?>
"> - - - - + + + + +