* add hidden vision input if vision is not shown.

This commit is contained in:
Wenrui LI
2022-03-22 10:51:40 +08:00
parent 450f2d7d89
commit e920e855eb
3 changed files with 9 additions and 4 deletions
+1
View File
@@ -96,6 +96,7 @@
<td align='left'>
<div class='input-group'>
<?php
if(!$showVisionList) echo html::hidden("visions[$i][]", $this->config->vision);
echo html::input("password[$i]", '', "class='form-control' onkeyup='toggleCheck(this, $i)'");
echo "<span class='input-group-addon passwordStrength'></span>";
if($i != 1) echo "<span class='input-group-addon passwordBox'><input type='checkbox' name='ditto[$i]' id='ditto$i' " . ($i > 1 ? "checked" : '') . " /> {$lang->user->ditto}</span>";