Dotclear

Changeset 302:5d58a71955b2


Ignore:
Timestamp:
05/20/11 09:04:56 (13 years ago)
Author:
Dsls <dsls@…>
Branch:
default
Message:

Added multiple post_type support in dcBlog::getCategories and dcBlog::getCategoriesCounter. Closes #1115

File:
1 edited

Legend:

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

    r270 r302  
    391391           
    392392          if (!empty($params['post_type'])) { 
    393                $strReq .= "AND post_type = '".$this->con->escape($params['post_type'])."' "; 
     393               $strReq .= 'AND P.post_type '.$this->con->in($params['post_type']); 
    394394          } 
    395395           
Note: See TracChangeset for help on using the changeset viewer.

Sites map