mirror of https://github.com/itflow-org/itflow
Fix Undefined index roundtrip when checkbox is not ticked by pre-defining value as 0
This commit is contained in:
parent
bbfcc48b3d
commit
980260c696
|
|
@ -8,6 +8,7 @@
|
|||
</button>
|
||||
</div>
|
||||
<form action="post.php" method="post" autocomplete="off">
|
||||
<input type="hidden" name="roundtrip" value="0">
|
||||
<div class="modal-body bg-white">
|
||||
|
||||
<div class="form-row">
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@
|
|||
<form action="post.php" method="post" autocomplete="off">
|
||||
<div class="modal-body bg-white">
|
||||
<input type="hidden" name="trip_id" value="<?php echo $trip_id; ?>">
|
||||
<input type="hidden" name="roundtrip" value="0">
|
||||
|
||||
<div class="form-row">
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue