Switched location to use ?? 0 in post for checkbox items that are not checked, this save from creating an extra hidden form field hence cleaner code

This commit is contained in:
johnnyq
2024-11-16 17:38:19 -05:00
parent 20a24b6ec6
commit 978c7c5db4
4 changed files with 6 additions and 11 deletions

View File

@@ -9,6 +9,8 @@
</div>
<form action="post.php" method="post" autocomplete="off">
<input type="hidden" name="billable" value="0">
<input type="hidden" name="use_primary_contact" value="0">
<div class="modal-body bg-white">
<?php if (isset($_GET['client_id'])) { ?>