Changeset 1540:e74d2f707815
- Timestamp:
- 07/27/13 15:08:05 (12 years ago)
- Branch:
- Ticket #1430
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/core/class.dc.blog.php
r1228 r1540 705 705 - limit: Limit parameter 706 706 - sql_only : return the sql request instead of results. Only ids are selected 707 - exclude_id : (array) Exclude entries with given post_id 707 708 708 709 Please note that on every cat_id or cat_url, you can add ?not to exclude … … 798 799 } 799 800 $strReq .= 'AND P.post_id '.$this->con->in($params['post_id']); 801 } 802 803 if (!empty($params['exclude_id'])) { 804 $strReq .= 'AND post_id not in ('.implode(', ',$params['exclude_id']).') '; 800 805 } 801 806
Note: See TracChangeset
for help on using the changeset viewer.