|
@@ 235-236 (lines=2) @@
|
| 232 |
|
|
| 233 |
|
$context['total_visible_posts'] = $context['num_replies'] + $myUnapprovedPosts + ($context['topicinfo']['approved'] ? 1 : 0); |
| 234 |
|
} |
| 235 |
|
elseif ($user_info['is_guest']) |
| 236 |
|
$context['total_visible_posts'] = $context['num_replies'] + ($context['topicinfo']['approved'] ? 1 : 0); |
| 237 |
|
else |
| 238 |
|
$context['total_visible_posts'] = $context['num_replies'] + $context['topicinfo']['unapproved_posts'] + ($context['topicinfo']['approved'] ? 1 : 0); |
| 239 |
|
|
|
@@ 237-238 (lines=2) @@
|
| 234 |
|
} |
| 235 |
|
elseif ($user_info['is_guest']) |
| 236 |
|
$context['total_visible_posts'] = $context['num_replies'] + ($context['topicinfo']['approved'] ? 1 : 0); |
| 237 |
|
else |
| 238 |
|
$context['total_visible_posts'] = $context['num_replies'] + $context['topicinfo']['unapproved_posts'] + ($context['topicinfo']['approved'] ? 1 : 0); |
| 239 |
|
|
| 240 |
|
// The start isn't a number; it's information about what to do, where to go. |
| 241 |
|
if (!is_numeric($_REQUEST['start'])) |