Changeset 739
- Timestamp:
- 02/03/09 08:23:32 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/gallery/trunk/class.dc.gallery.php
r727 r739 516 516 'FROM '.$this->core->prefix."post P, ".$this->table.' M, '.$this->table_ref.' PM '. 517 517 "WHERE P.post_id = PM.post_id AND M.media_id = PM.media_id ". 518 "AND M.media_id = '".$media_id."' AND P.post_type='galitem'"; 518 "AND M.media_id = '".$media_id."' AND P.post_type='galitem' ". 519 "AND P.blog_id = '".$this->core->con->escape($this->core->blog->id)."' "; 519 520 520 521 $rs = $this->con->select($strReq);
Note: See TracChangeset
for help on using the changeset viewer.