|
@@ -898,13 +898,13 @@ |
|
|
block discarded – undo |
|
898
|
898
|
if ($start_char === 'C') |
|
899
|
899
|
$limit_seek = $limit; |
|
900
|
900
|
else |
|
901
|
|
- $limit_seek = $limit + 1; |
|
|
901
|
+ $limit_seek = $limit + 1; |
|
902
|
902
|
|
|
903
|
903
|
$request = $smcFunc['db_query']('', ' |
|
904
|
904
|
SELECT id_msg, id_member, approved |
|
905
|
905
|
FROM {db_prefix}messages |
|
906
|
906
|
WHERE id_topic = {int:current_topic} |
|
907
|
|
- AND id_msg '. $page_operator . ' {int:page_id}'. (!$modSettings['postmod_active'] || $approve_posts ? '' : ' |
|
|
907
|
+ AND id_msg '. $page_operator . ' {int:page_id}' . (!$modSettings['postmod_active'] || $approve_posts ? '' : ' |
|
908
|
908
|
AND (approved = {int:is_approved}' . ($user_info['is_guest'] ? '' : ' OR id_member = {int:current_member}') . ')') . ' |
|
909
|
909
|
ORDER BY id_msg ' . ($ascending ? '' : 'DESC') . ($context['messages_per_page'] == -1 ? '' : ' |
|
910
|
910
|
LIMIT {int:limit}'), |
Please login to merge, or discard this patch.