mirror of https://github.com/BOINC/boinc.git
Drupal: Fixed bug where ignoring a user will not only hid his/her post, but all posts beneath it.
Fixed by added code to end of comment.tpl.php, adding two additional </div> close tags to match the two open <div> tags created above. https://dev.gridrepublic.org/browse/DBOINCP-282
This commit is contained in:
parent
177f3181a4
commit
f5e7ed768c
|
@ -176,6 +176,18 @@
|
|||
<?php endif; ?>
|
||||
</div>
|
||||
</div> <!-- /.comment-body -->
|
||||
|
||||
<?php
|
||||
static $authors;
|
||||
if (_ignore_user_ignored_user($comment->uid)) {
|
||||
// if (!$authors[$comment->uid]) {
|
||||
// $authors[$comment->uid] = user_load(array('uid' => $comment->uid));
|
||||
// }
|
||||
print '</div> <!-- /.ignore-user-content -->';
|
||||
print '</div> <!-- /.ignore-user-container -->';
|
||||
}
|
||||
?>
|
||||
|
||||
</div> <!-- /.comment -->
|
||||
|
||||
<?php if ($status == 'comment-preview'): ?>
|
||||
|
|
Loading…
Reference in New Issue