mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 04:50:47 -07:00
fixed bug with missing shell
This commit is contained in:
parent
e7128b4a9f
commit
d6e854e44f
1 changed files with 3 additions and 1 deletions
|
@ -53,9 +53,11 @@ document.v_edit_user.v_password.value = randomstring;
|
||||||
<?php
|
<?php
|
||||||
foreach ($shells as $key => $value) {
|
foreach ($shells as $key => $value) {
|
||||||
echo "\t\t\t\t<option value=\"".$value."\"";
|
echo "\t\t\t\t<option value=\"".$value."\"";
|
||||||
if ((!empty($v_shell)) && ( $value == $v_shell)){
|
$svalue = "'".$value."'";
|
||||||
|
if (( $value == $v_shell ) || ($svalue == $v_shell )){
|
||||||
echo 'selected' ;
|
echo 'selected' ;
|
||||||
}
|
}
|
||||||
|
|
||||||
echo ">".$value."</option>\n";
|
echo ">".$value."</option>\n";
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue