Dotclear


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/core/class.dc.blog.php

    r1689 r1620  
    199199     /** 
    200200     Updates comments and trackbacks counters in post table. Should be called 
    201      every time comments or trackbacks are added, removed or changed their status. 
     201     every time comments or trackbacks are added, removed or changed there status. 
    202202      
    203203     @param    ids       <b>mixed</b>        Comment(s) ID(s) 
     
    18801880     - cat_id: (integer or array) Get comments belonging to entries of given category ID 
    18811881     - comment_id: (integer) Get comment with given ID 
    1882      - comment_site: (string) Get comments with given comment_site 
    18831882     - comment_status: (integer) Get comments with given comment_status 
    18841883     - comment_trackback: (integer) Get only comments (0) or trackbacks (1) 
     
    19701969          if (isset($params['comment_id']) && $params['comment_id'] !== '') { 
    19711970               $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."' "; 
    19771971          } 
    19781972           
Note: See TracChangeset for help on using the changeset viewer.

Sites map