mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-20 21:34:11 -07:00
fixed bug with missing package
This commit is contained in:
parent
d6e854e44f
commit
c48a1a97c4
2 changed files with 3 additions and 1 deletions
|
@ -104,6 +104,7 @@ U_MAIL_ACCOUNTS='$U_MAIL_ACCOUNTS'
|
|||
U_DATABASES='$U_DATABASES'
|
||||
U_CRON_JOBS='$U_CRON_JOBS'
|
||||
U_BACKUPS='$U_BACKUPS'
|
||||
TIME='$TIME'
|
||||
DATE='$DATE'" > $USER_DATA/user.conf
|
||||
}
|
||||
|
||||
|
|
|
@ -37,7 +37,8 @@ document.v_edit_user.v_password.value = randomstring;
|
|||
<?php
|
||||
foreach ($packages as $key => $value) {
|
||||
echo "\t\t\t\t<option value=\"".$key."\"";
|
||||
if ((!empty($v_package)) && ( $key == $v_package)){
|
||||
$skey = "'".$key."'";
|
||||
if (( $key == $v_package ) || ( $skey == $v_package)){
|
||||
echo 'selected' ;
|
||||
}
|
||||
echo ">".$key."</option>\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue