Passed
Pull Request — master (#5735)
by David
10:14
created
html/user/forum_user_posts.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -91,9 +91,9 @@  discard block
 block discarded – undo
91 91
         if ($forum->parent_type == 1) {
92 92
             // post to team msg board
93 93
             if ($forum->category == $teamid) {
94
-				if ($thread->hidden && !$show_team_hidden) {
95
-					continue;
96
-				}
94
+                if ($thread->hidden && !$show_team_hidden) {
95
+                    continue;
96
+                }
97 97
                 if ($post->hidden && !$show_team_hidden) {
98 98
                     continue;
99 99
                 }
@@ -101,18 +101,18 @@  discard block
 block discarded – undo
101 101
                 continue;
102 102
             }
103 103
         } else {
104
-			if ($thread->hidden && !$show_hidden) {
105
-				continue;
106
-			}
104
+            if ($thread->hidden && !$show_hidden) {
105
+                continue;
106
+            }
107 107
             if ($post->hidden && !$show_hidden) {
108 108
                 continue;
109 109
             }
110 110
         }
111 111
     }
112
-	if ($n == $offset + $items_per_page) {
113
-		$show_next = true;
114
-		break;
115
-	}
112
+    if ($n == $offset + $items_per_page) {
113
+        $show_next = true;
114
+        break;
115
+    }
116 116
     if ($n >= $offset) {
117 117
         show_post_and_context($post, $thread, $forum, $options, $n+1);
118 118
     }
@@ -121,12 +121,12 @@  discard block
 block discarded – undo
121 121
 end_table();
122 122
 
123 123
 if ($offset) {
124
-	$x = $offset - $items_per_page;
124
+    $x = $offset - $items_per_page;
125 125
     echo "<a href=forum_user_posts.php?userid=$userid&offset=$x>
126 126
 		<b>".tra("Previous %1", $items_per_page)."</b>
127 127
 		</a>
128 128
     ";
129
-	if ($show_next) echo " &middot; ";
129
+    if ($show_next) echo " &middot; ";
130 130
 }
131 131
 
132 132
 if ($show_next) {
Please login to merge, or discard this patch.