mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
- Bug #5090
git-svn-id: file:///svn/phpbb/trunk@6559 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
67af543695
commit
11d2a37032
1 changed files with 0 additions and 1 deletions
|
@ -607,7 +607,6 @@ class fulltext_native extends search_backend
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'mysql':
|
|
||||||
case 'sqlite':
|
case 'sqlite':
|
||||||
$sql_array_count['SELECT'] = ($type == 'posts') ? 'DISTINCT p.post_id' : 'DISTINCT p.topic_id';
|
$sql_array_count['SELECT'] = ($type == 'posts') ? 'DISTINCT p.post_id' : 'DISTINCT p.topic_id';
|
||||||
$sql = 'SELECT COUNT(' . (($type == 'posts') ? 'post_id' : 'topic_id') . ') as total_results
|
$sql = 'SELECT COUNT(' . (($type == 'posts') ? 'post_id' : 'topic_id') . ') as total_results
|
||||||
|
|
Loading…
Add table
Reference in a new issue