Update code-style in `UserProfileCommentManager`
authorCyperghost <olaf_schmitz_1@t-online.de>
Mon, 25 Mar 2024 10:11:06 +0000 (11:11 +0100)
committerCyperghost <olaf_schmitz_1@t-online.de>
Mon, 25 Mar 2024 10:11:06 +0000 (11:11 +0100)
wcfsetup/install/files/lib/system/comment/manager/UserProfileCommentManager.class.php

index 3738efe6ce12a520011167f02447871d6d7b908c..2c76d6629d2efe469687c0590d40e7351de1ba8d 100644 (file)
@@ -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;