- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/core/class.dc.blog.php
r1689 r1620 199 199 /** 200 200 Updates comments and trackbacks counters in post table. Should be called 201 every time comments or trackbacks are added, removed or changed the irstatus.201 every time comments or trackbacks are added, removed or changed there status. 202 202 203 203 @param ids <b>mixed</b> Comment(s) ID(s) … … 1880 1880 - cat_id: (integer or array) Get comments belonging to entries of given category ID 1881 1881 - comment_id: (integer) Get comment with given ID 1882 - comment_site: (string) Get comments with given comment_site1883 1882 - comment_status: (integer) Get comments with given comment_status 1884 1883 - comment_trackback: (integer) Get only comments (0) or trackbacks (1) … … 1970 1969 if (isset($params['comment_id']) && $params['comment_id'] !== '') { 1971 1970 $strReq .= 'AND comment_id = '.(integer) $params['comment_id'].' '; 1972 }1973 1974 if (isset($params['comment_site'])) {1975 $comment_site = $this->con->escape(str_replace('*','%',$params['comment_site']));1976 $strReq .= "AND comment_site LIKE '".$comment_site."' ";1977 1971 } 1978 1972
Note: See TracChangeset
for help on using the changeset viewer.