Skip to content

Commit 8cc128c

Browse files
authored
Merge pull request hestiacp#1193 from hestiacp/fix/2020-09_fix_when_name_is_missing
Fix issue with template when name was missing
2 parents 8bbf669 + f44cbf7 commit 8cc128c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

web/templates/admin/list_user.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,15 +93,14 @@
9393
$spnd_confirmation = _('SUSPEND_USER_CONFIRMATION');
9494
}
9595
?>
96-
9796
<div class="l-unit <? if($status == 'suspended') echo 'l-unit--suspended'; if($_SESSION['favourites']['USER'][$key] == 1) echo ' l-unit--starred';?>" v_section="user"
9897
v_unit_id="<?=$key?>" sort-date="<?=strtotime($data[$key]['DATE'].' '.$data[$key]['TIME'])?>" sort-name="<?=$key?>"
9998
sort-bandwidth="<?=$data[$key]['U_BANDWIDTH']?>" sort-disk="<?=$data[$key]['U_DISK']?>" sort-star="<? if($_SESSION['favourites']['USER'][$key] == 1) echo '1'; else echo '0'; ?>">
10099
<div class="l-unit__col l-unit__col--right">
101100
<div class="clearfix l-unit__stat-col--left super-compact">
102101
<input id="check<?=$i?>" class="ch-toggle" type="checkbox" name="user[]" value="<?=$key?>">
103102
</div>
104-
<div class="clearfix l-unit__stat-col--left wide-3 userlist-username"><b><a href="/login/?loginas=<?=$key?>&token=<?=$_SESSION['token']?>" title="<?=_('login as')?> <?=$key?>"><?=$key?> <span style="font-weight: normal !important;">(<?php echo _($data[$key]['NAME']);?>)</span></b></a>
103+
<div class="clearfix l-unit__stat-col--left wide-3 userlist-username"><b><a href="/login/?loginas=<?=$key?>&token=<?=$_SESSION['token']?>" title="<?=_('login as')?> <?=$key?>"><?=$key?> <span style="font-weight: normal !important;">(<?php echo $data[$key]['NAME'];?>)</span></b></a>
105104
<br />
106105
<div class="userlist-email"><b><?=_('Email')?>:</b> <?=$data[$key]['CONTACT']?></div>
107106
</div>

0 commit comments

Comments
 (0)