- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/core/class.dc.blog.php
r1620 r1689 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 restatus.201 every time comments or trackbacks are added, removed or changed their 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_site 1882 1883 - comment_status: (integer) Get comments with given comment_status 1883 1884 - comment_trackback: (integer) Get only comments (0) or trackbacks (1) … … 1969 1970 if (isset($params['comment_id']) && $params['comment_id'] !== '') { 1970 1971 $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."' "; 1971 1977 } 1972 1978
Note: See TracChangeset
for help on using the changeset viewer.