Split additional joins into multiple lines
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / lib / system / box / ProfileCommentListBoxController.class.php
index e0d37466fedfeacf58e4f789757448f746743731..30e921f2adbf98f9dcdf4d09613f1e5baaf66368 100644 (file)
@@ -33,7 +33,9 @@ class ProfileCommentListBoxController extends AbstractCommentListBoxController
 
         if (WCF::getSession()->getPermission('user.profile.canViewUserProfile')) {
             $optionID = User::getUserOptionID('canViewProfile');
-            $commentList->sqlJoins .= ' INNER JOIN wcf' . WCF_N . '_user_option_value user_option_value ON user_option_value.userID = comment.objectID';
+            $commentList->sqlJoins .= '
+                INNER JOIN  wcf' . WCF_N . '_user_option_value user_option_value
+                ON          user_option_value.userID = comment.objectID';
 
             if (WCF::getUser()->userID) {
                 $followers = UserProfileHandler::getInstance()->getFollowers();