mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2025-01-23 13:14:17 +00:00
fix magnet comment access
This commit is contained in:
parent
d1496747bf
commit
29146f73fe
@ -369,7 +369,8 @@ echo '<?xml version="1.0" encoding="UTF-8"?>' . PHP_EOL ?>
|
||||
<div class="padding-x-16 padding-t-16 padding-b-8 margin-t-8 border-radius-3 background-color-night <?php echo !$magnetComment->approved || !$magnetComment->public ? 'opacity-06 opacity-hover-1' : false ?>">
|
||||
<a name="comment-<?php echo $magnetComment->magnetCommentId ?>"></a>
|
||||
<?php if ($response->user->address == $db->getUser($magnetComment->userId)->address ||
|
||||
in_array($response->user->address, MODERATOR_IP_LIST)) { ?>
|
||||
in_array($response->user->address, MODERATOR_IP_LIST) ||
|
||||
($magnetComment->approved && $magnetComment->public)) { ?>
|
||||
<div class="margin-b-16">
|
||||
<?php echo nl2br(htmlentities($magnetComment->value)) ?>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user