Skip to content

Commit

Permalink
Perm bans will now show Expiration as Never and if reason is null it …
Browse files Browse the repository at this point in the history
…will not show it.
  • Loading branch information
zigazajc007 committed Jan 9, 2021
1 parent 026af65 commit d96a161
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,9 @@
?>
<td><?php if($heads_link != null){ ?><img src="<?php echo str_replace("{uuid}", $to_uuid['id'], $heads_link); ?>" /><?php } echo " " . $row['username_to']; ?></td>
<td><?php if($heads_link != null){ ?><img src="<?php echo str_replace("{uuid}", $from_uuid['id'], $heads_link); ?>" /><?php } echo " " . $row['username_from']; ?></td>
<td><?php echo chatColor($row['reason']); ?></td>
<td><?php if($row['reason'] != null) echo chatColor($row['reason']); ?></td>
<td><?php echo $row['created']; ?></td>
<td><?php echo $row['until']; ?></td>
<td><?php if($row['until'] == null){ echo 'Never'; }else{ echo $row['until']; } ?></td>
<td><?php if($row['server'] != ""){ echo $row['server']; }else{ echo "-"; } ?></td>
</tr>
<?php
Expand Down

0 comments on commit d96a161

Please sign in to comment.