* fix form selection default value.

This commit is contained in:
liwenrui
2023-07-03 16:42:49 +08:00
parent cdd6c13fbb
commit 280cac10cb
+1 -1
View File
@@ -61,7 +61,7 @@
<div class='options'>
<?php foreach($forms as $form):?>
<div class='option'>
<input type='radio' name='targetForm' value='<?php echo "$name.$form";?>' <?php echo $form == $prompt->targetForm ? 'checked' : '';?>>
<input type='radio' name='targetForm' value='<?php echo "$name.$form";?>' <?php echo "$name.$form" == $prompt->targetForm ? 'checked' : '';?>>
<label><?php echo $lang->ai->targetForm[$name][$form];?></label>
</div>
<?php endforeach;?>