Dotclear


Ignore:
Timestamp:
10/08/13 10:57:47 (12 years ago)
Author:
Dsls
Branch:
default
Children:
2313:ef1db3d7c388, 2314:a8e88895bff2
Message:

Refined attachment filter to "attachments" only, added link_type selection in dcBlog::getPosts, see #989

File:
1 edited

Legend:

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

    r2309 r2312  
    813813                    $strReq .= 'INNER JOIN '.$this->prefix.'post_media M on P.post_id = M.post_id '; 
    814814               } 
     815               if (isset($params['link_type'])) { 
     816                    $strReq .= " and M.link_type ".$this->con->in($params['link_type'])." "; 
     817               } 
    815818          } 
    816819           
Note: See TracChangeset for help on using the changeset viewer.

Sites map