Skip to content

Commit 21f944c

Browse files
authored
fixed checkbox issue
checkbox to an array allowing it to pass all three Vesta packages instead of just one.
1 parent 3bb009f commit 21f944c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/templates/admin/list_updates.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
<div class="l-unit<? if($status == 'suspended') echo ' l-unit--outdated';?>">
6565
<div class="l-unit-toolbar clearfix">
6666
<div class="l-unit-toolbar__col l-unit-toolbar__col--left">
67-
<input id="check<?php echo $i ?>" class="ch-toggle" type="checkbox" name="pkg" value="<?php echo $key ?>">
67+
<input id="check<?php echo $i ?>" class="ch-toggle" type="checkbox" name="pkg[]" value="<?php echo $key ?>">
6868
<label for="check<?php echo $i ?>" class="check-label"></label>
6969
</div>
7070
<!-- l-unit-toolbar__col -->

0 commit comments

Comments
 (0)