Changeset 3481:578dcd064a20
- Timestamp:
- 12/29/16 07:24:57 (9 years ago)
- Branch:
- 2.11
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/core/class.dc.postmedia.php
r3414 r3481 57 57 } 58 58 59 $where =[];59 $where = array(); 60 60 if (isset($params['post_id'])) { 61 $where[] ="PM.post_id ".$this->con->in($params['post_id']);61 $where[] = "PM.post_id ".$this->con->in($params['post_id']); 62 62 } 63 63 if (isset($params['media_id'])) { 64 $where[] ="M.media_id ".$this->con->in($params['media_id']);64 $where[] = "M.media_id ".$this->con->in($params['media_id']); 65 65 } 66 66 if (isset($params['media_path'])) { 67 $where[] ="M.media_path ".$this->con->in($params['media_path']);67 $where[] = "M.media_path ".$this->con->in($params['media_path']); 68 68 } 69 69 if (isset($params['link_type'])) { 70 $where[] ="PM.link_type ".$this->con->in($params['link_type']);70 $where[] = "PM.link_type ".$this->con->in($params['link_type']); 71 71 } else { 72 $where[] ="PM.link_type='attachment'";72 $where[] = "PM.link_type='attachment'"; 73 73 } 74 74
Note: See TracChangeset
for help on using the changeset viewer.