Changeset 1110:44e8d66c9012 for inc
- Timestamp:
 - 03/08/13 11:32:08 (13 years ago)
 - Branch:
 - 2.5
 - File:
 - 
          
- 1 edited
 
- 
          inc/core/class.dc.blog.php (modified) (1 diff)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
        
inc/core/class.dc.blog.php
r1052 r1110 228 228 'SELECT post_id, COUNT(post_id) AS nb_comment,comment_trackback '. 229 229 'FROM '.$this->prefix.'comment '. 230 'WHERE post_id'.$this->con->in($a_ids).231 'AND comment_status = 1 ';230 'WHERE comment_status = 1 '. 231 (count($a_ids) > 0 ? 'AND post_id'.$this->con->in($a_ids) : ''); 232 232 233 233 if ($del) {  
Note: See TracChangeset
          for help on using the changeset viewer.
      