Changeset 2312:d01c85eaa37d
- Timestamp:
- 10/08/13 10:57:47 (12 years ago)
- Branch:
- default
- Children:
- 2313:ef1db3d7c388, 2314:a8e88895bff2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/posts.php
r2309 r2312 180 180 if ($attachment !== '' && in_array($attachment,$attachment_combo)) { 181 181 $params['media'] = $attachment; 182 $params['link_type'] = 'attachment'; 182 183 $show_filters = true; 183 184 } else { -
inc/core/class.dc.blog.php
r2309 r2312 813 813 $strReq .= 'INNER JOIN '.$this->prefix.'post_media M on P.post_id = M.post_id '; 814 814 } 815 if (isset($params['link_type'])) { 816 $strReq .= " and M.link_type ".$this->con->in($params['link_type'])." "; 817 } 815 818 } 816 819
Note: See TracChangeset
for help on using the changeset viewer.