File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ source $HESTIA/conf/hestia.conf
2424
2525# Functions
2626is_package_in_use () {
27- check_package=$( grep " PACKAGE='default " $HESTIA /data/users/* /user.conf | cut -d' /' -f7)
27+ check_package=$( grep " PACKAGE='$package " $HESTIA /data/users/* /user.conf | cut -d' /' -f7)
2828 if [ ! -z " $check_package " ]; then
2929 for user in $check_package ; do
3030 $BIN /v-change-user-package " $user " ' default'
Original file line number Diff line number Diff line change 6868 < div class ="clearfix l-unit__stat-col--left super-compact ">
6969 < input id ="check<?=$i?> " class ="ch-toggle " type ="checkbox " name ="user[] " value ="<?=$key?> ">
7070 </ div >
71- < ? if ($key == 'default') { ?>
72- < div class ="clearfix l-unit__stat-col--left wide-2 truncate "> < b > < ?=$key?> </ b > </ div >
73- < ? } else {?>
74- < div class ="clearfix l-unit__stat-col--left wide-2 truncate "> < b > < a href ="/edit/package/?package=<?=$key?>&token=<?=$_SESSION['token']?> " title ="<?=_('Editing Package')?>: <?=$key?> "> < ?=$key?> </ b > </ a > </ div >
75- < ? } ?>
71+ < div class ="clearfix l-unit__stat-col--left wide-2 truncate "> < b > < a href ="/edit/package/?package=<?=$key?>&token=<?=$_SESSION['token']?> " title ="<?=_('Editing Package')?>: <?=$key?> "> < ?=$key?> </ b > </ a > </ div >
7672 <!-- START QUICK ACTION TOOLBAR AREA -->
7773 < div class ="clearfix l-unit__stat-col--left text-right compact-3 ">
7874 < div class ="l-unit-toolbar__col l-unit-toolbar__col--right noselect ">
You can’t perform that action at this time.
0 commit comments