diff options
Diffstat (limited to 'web/template')
-rw-r--r-- | web/template/account_details.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/template/account_details.php b/web/template/account_details.php index fa6b528c..84f8b9c5 100644 --- a/web/template/account_details.php +++ b/web/template/account_details.php @@ -82,7 +82,7 @@ <?php if (can_edit_account($row)): ?> <li><a href="<?= get_user_uri($row['Username']); ?>edit"><?= __("Edit this user's account") ?></a></li> <?php endif; ?> - <?php if (has_credential(CRED_ACCOUNT_LIST_COMMENTS)): ?> + <?php if (has_credential(CRED_ACCOUNT_LIST_COMMENTS, array($row['ID']))): ?> <li><a href="<?= get_user_uri($row['Username']); ?>comments"><?= __("List this user's comments") ?></a></li> <?php endif; ?> </ul></td> |