Skip to content

Commit

Permalink
Correct the values for the updatepassword radio buttons.
Browse files Browse the repository at this point in the history
  • Loading branch information
bramley authored and Sam Tuke committed Feb 4, 2019
1 parent 6e2a1bb commit 74484ba
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions public_html/lists/admin/admin.php
Expand Up @@ -194,7 +194,7 @@
<input type="radio" id= "passwordoption0" name="passwordoption" value="0" >'.s('Create password').'
</td>
</tr>
<tr id="passrow">
<td>
<label for="adminpassword">'.s('Create password').'</label>
Expand All @@ -204,7 +204,7 @@
<span id= "shortpassword">'.s('Password must be at least 8 characters').'</span>
</td>
</tr>
<tr id="confirmrow">
<td>
<label for="confirmpassword">'.s('Confirm password').'</label>
Expand All @@ -226,8 +226,8 @@
$checkNo = 'checked="checked"';
}
if ($addAdmin===false) {
printf('<tr><td>%s (%s)</td><td>%s<input type="radio" name="updatepassword" value="0" %s>%s</input>
<input type="radio" name="updatepassword" value="1" %s>%s</input></td></tr>
printf('<tr><td>%s (%s)</td><td>%s<input type="radio" name="updatepassword" value="1" %s>%s</input>
<input type="radio" name="updatepassword" value="0" %s>%s</input></td></tr>
',
s('Password'), s('hidden'),
s('Update it?'),
Expand Down

0 comments on commit 74484ba

Please sign in to comment.