Dotclear

Changeset 2315:b3620dcad205


Ignore:
Timestamp:
10/09/13 06:30:38 (12 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Fix posts counting, as least for mysql, in getPosts(), addresses #989

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/core/class.dc.blog.php

    r2312 r2315  
    771771          if ($count_only) 
    772772          { 
    773                $strReq = 'SELECT count(P.post_id) '; 
     773               $strReq = 'SELECT count(DISTINCT P.post_id) '; 
    774774          } 
    775775          elseif (!empty($params['sql_only']))  
Note: See TracChangeset for help on using the changeset viewer.

Sites map