From: Cyperghost Date: Mon, 25 Mar 2024 10:11:06 +0000 (+0100) Subject: Update code-style in `UserProfileCommentManager` X-Git-Tag: 6.1.0_Alpha_1~142^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4d41fef232b0dbc53ce514a95ddfdf0e36549bef;p=GitHub%2FWoltLab%2FWCF.git Update code-style in `UserProfileCommentManager` --- diff --git a/wcfsetup/install/files/lib/system/comment/manager/UserProfileCommentManager.class.php b/wcfsetup/install/files/lib/system/comment/manager/UserProfileCommentManager.class.php index 3738efe6ce..2c76d6629d 100644 --- a/wcfsetup/install/files/lib/system/comment/manager/UserProfileCommentManager.class.php +++ b/wcfsetup/install/files/lib/system/comment/manager/UserProfileCommentManager.class.php @@ -105,8 +105,8 @@ class UserProfileCommentManager extends AbstractCommentManager implements if ( !( $user->getPermission('admin.general.canViewPrivateUserOptions') - || $userProfile->isAccessible('canViewProfile', $user->userID) - || $userProfile->userID === $user->userID + || $userProfile->isAccessible('canViewProfile', $user->userID) + || $userProfile->userID === $user->userID ) ) { return false;