Tweaked Document Versioning logic, this update will update the db to update all exisiting document to update document_parent with the same primary_key ID

This commit is contained in:
johnnyq
2023-09-23 17:57:06 -04:00
parent 8d9f031cab
commit 6b22390604
5 changed files with 28 additions and 28 deletions

View File

@@ -9,6 +9,7 @@
</div>
<form action="post.php" method="post" autocomplete="off">
<input type="hidden" name="document_id" value="<?php if($document_parent == 0){ echo $document_id; } else { echo $document_parent; } ?>">
<input type="hidden" name="document_parent" value="<?php echo $document_parent; ?>">
<input type="hidden" name="client_id" value="<?php echo $client_id; ?>">
<div class="modal-body bg-white">