Skip to content

Commit d6e854e

Browse files
committed
fixed bug with missing shell
1 parent e7128b4 commit d6e854e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

web/templates/admin/edit_user.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,11 @@
5353
<?php
5454
foreach ($shells as $key => $value) {
5555
echo "\t\t\t\t<option value=\"".$value."\"";
56-
if ((!empty($v_shell)) && ( $value == $v_shell)){
56+
$svalue = "'".$value."'";
57+
if (( $value == $v_shell ) || ($svalue == $v_shell )){
5758
echo 'selected' ;
5859
}
60+
5961
echo ">".$value."</option>\n";
6062
}
6163
?>

0 commit comments

Comments
 (0)